mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-14 00:39:57 -04:00
Revert "Improve docs for isBelow() and isAbove()"
Reverts commit f00fe1cfd2
, which was factually wrong
This commit is contained in:
parent
c73e08a481
commit
a2069fc73d
1 changed files with 4 additions and 4 deletions
|
@ -2933,7 +2933,7 @@ new function() { // Injection scope for hit-test functions shared with project
|
|||
* defined in such a way, e.g. if one is a descendant of the other.
|
||||
*/
|
||||
_getOrder: function(item) {
|
||||
// Private method that produces a list of anchestors, starting with the
|
||||
// Private method that produces a list of ancestors, starting with the
|
||||
// root and ending with the actual element as the last entry.
|
||||
function getList(item) {
|
||||
var list = [];
|
||||
|
@ -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 all its siblings (`parent.children`).
|
||||
* of the project.
|
||||
*
|
||||
* @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 this item is below the specified item in the stacking order
|
||||
* of all its siblings (`parent.children`).
|
||||
* Checks if the item is below the specified item in the stacking order of
|
||||
* the project.
|
||||
*
|
||||
* @param {Item} item the item to check against
|
||||
* @return {Boolean} {@true if it is below the specified item}
|
||||
|
|
Loading…
Reference in a new issue