Bug Fixed
This commit is contained in:
1 parent
cac58db47a
commit
10ec007ff2
1 file changed
+1
-1
@@ -195,7 +195,7 @@ function newFrame () {
|
||||
}
|
||||
|
||||
if (thisObject.type === 'Rectangle') {
|
||||
if (checkPoint.x < 0 + padding || checkPoint.y < 0 + padding || checkPoint.x > thisObject.width + padding || checkPoint.y > thisObject.height + padding) {
|
||||
if (checkPoint.x < 0 + padding || checkPoint.y < 0 + padding || checkPoint.x > thisObject.width - padding || checkPoint.y > thisObject.height - padding) {
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user