made requested changes

This commit is contained in:
druiz17 2017-10-13 10:45:24 -07:00
parent 83d2a54b0f
commit 2422c9d9f3

View file

@ -306,8 +306,7 @@ FocusScope {
if (child.hasOwnProperty("frame")) {
var outLine = child.frame.children[2];
var framePoint = outLine.mapFromGlobal(point.x, point.y);
if (child.contains(mappedPoint) || outLine.contains(framePoint)) {
console.log("it should not be here");
if (outLine.contains(framePoint)) {
return true;
}
}