Bug Fixed

This commit is contained in:
Luis Fernando Molina committed 2020-02-10 18:43:54 +01:00
1 parent cac58db47a
commit 10ec007ff2
1 file changed
+1 -1
+1 -1
View File
@@ -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