X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scenegraph%2Fsrc%2Forg%2Fsimantics%2Fscenegraph%2Fg2d%2Fnodes%2FSingleElementNode.java;h=9220e18fd35a429f8e5d6bde95befc4c7d33da5a;hp=c6a8b950e0e8a6f22218bb70d0637fc2c45360cd;hb=55ca14c;hpb=3b5069d0d30e7de27f73d88d5e89d29052291a34 diff --git a/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/SingleElementNode.java b/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/SingleElementNode.java index c6a8b950e..9220e18fd 100644 --- a/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/SingleElementNode.java +++ b/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/SingleElementNode.java @@ -144,7 +144,7 @@ public class SingleElementNode extends TransformNode implements InitValueSupport } protected boolean hitTest(MouseEvent event) { - Rectangle2D bounds = super.getBoundsInLocal(false); + Rectangle2D bounds = super.getBoundsInLocal(true); if (bounds == null) return false; Point2D localPos = NodeUtil.worldToLocal(this, event.controlPosition, new Point2D.Double());