File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -130,16 +130,6 @@ public void paintStatic() {
130130 drawGrid (staticG );
131131 staticG .setTransform (oldStatic );
132132
133- // Draw links
134- staticG .transform (wToV );
135- for (Link l : Main .sim .getLinks ()) {
136- if (l == null ) {
137- System .err .println ("Warning: Null link encountered while drawing" );
138- continue ;
139- }
140- l .draw (staticG );
141- }
142-
143133 // Draw modules - static
144134 staticG .setTransform (oldStatic );
145135 for (BaseModule m : Main .sim .getModules ()) {
@@ -149,6 +139,16 @@ public void paintStatic() {
149139 staticG .setTransform (oldStatic );
150140 }
151141
142+ // Draw links
143+ staticG .transform (wToV );
144+ for (Link l : Main .sim .getLinks ()) {
145+ if (l == null ) {
146+ System .err .println ("Warning: Null link encountered while drawing" );
147+ continue ;
148+ }
149+ l .draw (staticG );
150+ }
151+
152152 staticG .setTransform (oldStatic );
153153
154154 // Static canvas is now up-to-date
You can’t perform that action at this time.
0 commit comments