From: Daniel Kirschten Date: Wed, 29 May 2019 15:00:25 +0000 (+0200) Subject: Found the redrawing bug mentioned in the last commit X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=e7397e14db66da7a6b476715460732277f32dff5;p=Mograsim.git Found the redrawing bug mentioned in the last commit --- diff --git a/LogicUI/src/era/mi/gui/LogicUICanvas.java b/LogicUI/src/era/mi/gui/LogicUICanvas.java index 7f187251..18d424d7 100644 --- a/LogicUI/src/era/mi/gui/LogicUICanvas.java +++ b/LogicUI/src/era/mi/gui/LogicUICanvas.java @@ -66,6 +66,7 @@ public class LogicUICanvas extends ZoomableCanvas w.removeWireLookChangedListener(redrawConsumer); redrawThreadsafe(); }); + // TODO add listeners for existing components & wires addZoomedRenderer(gc -> {