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=6fd6d5ffd78dbd3d876d3392da9becbe22f0e8be;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 55d7d215..6241f44b 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 -> {