ssht.
This commit is contained in:
parent
e747fb6e3b
commit
b6468d6437
@ -6,7 +6,7 @@ function placeEditBubble(mouse) {
|
|||||||
rootItem = rootItem.parent;
|
rootItem = rootItem.parent;
|
||||||
}
|
}
|
||||||
var distanceToTop = mouseEventListener.mapToItem(rootItem, mouse.x, mouse.y);
|
var distanceToTop = mouseEventListener.mapToItem(rootItem, mouse.x, mouse.y);
|
||||||
print( " distanceToTop: " + distanceToTop.x);
|
//print( " distanceToTop: " + distanceToTop.x);
|
||||||
if (distanceToTop.x < editBubble.width/2) {
|
if (distanceToTop.x < editBubble.width/2) {
|
||||||
// hitting the left edge
|
// hitting the left edge
|
||||||
//editBubble.x = mouse.x
|
//editBubble.x = mouse.x
|
||||||
|
Loading…
x
Reference in New Issue
Block a user