mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Remove reduntant argument, fixing visibility check.
This commit is contained in:
parent
d84f0d34cf
commit
13ae51789f
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ var DomElement = {
|
||||||
// See if the viewport bounds intersect with the windows rectangle
|
// See if the viewport bounds intersect with the windows rectangle
|
||||||
// which always starts at 0, 0
|
// which always starts at 0, 0
|
||||||
return !this.isInvisible(el) && this.getViewportBounds(el).intersects(
|
return !this.isInvisible(el) && this.getViewportBounds(el).intersects(
|
||||||
this.getBounds(el, false, true));
|
this.getBounds(el, true));
|
||||||
},
|
},
|
||||||
|
|
||||||
getViewport: function(doc) {
|
getViewport: function(doc) {
|
||||||
|
|
Loading…
Reference in a new issue