From af88b76e1afa2d6cdd43523b9ab3f4700395fe37 Mon Sep 17 00:00:00 2001 From: lehtonen Date: Wed, 19 Oct 2011 12:11:10 +0000 Subject: [PATCH] TextNode: * Only left button clicks activate editing * Implement IDynamicSelectionPainterNode git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@22841 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/ui/elements2/ModuleNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/ModuleNode.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/ModuleNode.java index 6695543d..a4eee590 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/ModuleNode.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/ModuleNode.java @@ -71,7 +71,7 @@ public class ModuleNode extends HoverTextNode { boolean selected = NodeUtil.isSelected(this, 1); - if (selected && showSelection()) { + if (selected && showsSelection()) { Composite oc = g.getComposite(); g.setComposite(AlphaComposite.SrcAtop.derive(0.5f)); -- 2.47.1