Improved rendering:
[Mograsim.git] / net.mograsim.logic.ui / src / net / mograsim / logic / ui / model / components / GUIManualSwitch.java
index 0d418ce..8d63596 100644 (file)
@@ -27,7 +27,7 @@ public class GUIManualSwitch extends GUIComponent
        public GUIManualSwitch(ViewModel model)\r
        {\r
                super(model);\r
-               logicObs = (i) -> callComponentLookChangedListeners();\r
+               logicObs = (i) -> requestRedraw();\r
 \r
                setSize(width, height);\r
                addPin(this.outputPin = new Pin(this, 1, width, height / 2));\r