Improve docs for isBelow() and isAbove()

Closes #1747
This commit is contained in:
Jürg Lehni 2019-12-18 11:23:15 +01:00
parent 00bd25d662
commit f00fe1cfd2

View file

@ -2977,7 +2977,7 @@ new function() { // Injection scope for hit-test functions shared with project
/**
* Checks if this item is above the specified item in the stacking order
* of the project.
* of all its siblings (`parent.children`).
*
* @param {Item} item the item to check against
* @return {Boolean} {@true if it is above the specified item}
@ -2987,8 +2987,8 @@ new function() { // Injection scope for hit-test functions shared with project
},
/**
* Checks if the item is below the specified item in the stacking order of
* the project.
* Checks if this item is below the specified item in the stacking order
* of all its siblings (`parent.children`).
*
* @param {Item} item the item to check against
* @return {Boolean} {@true if it is below the specified item}