]> gerrit.simantics Code Review - simantics/district.git/commitdiff
Show detailed geometry on further zoom distance 79/3379/1
authorjsimomaa <jani.simomaa@gmail.com>
Mon, 21 Oct 2019 09:58:49 +0000 (12:58 +0300)
committerjsimomaa <jani.simomaa@gmail.com>
Mon, 21 Oct 2019 09:58:49 +0000 (12:58 +0300)
gitlab #35

Change-Id: I816e552364b0c62529a7296c033379cf558df037

org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkEdgeNode.java

index 00fe2184e49dcc53ba77fa922e426b1e4888562c..8c4af387cee34a288e888e0c03d74c943198424b 100644 (file)
@@ -95,7 +95,7 @@ public class DistrictNetworkEdgeNode extends G2DParentNode implements ISelection
             }
 
             int zoomLevel = (Integer) g2d.getRenderingHint(DistrictRenderingHints.KEY_VIEW_ZOOM_LEVEL);
-            path = calculatePath(edge, path, zoomLevel > 15);
+            path = calculatePath(edge, path, zoomLevel > 13);
     
             if (isSelected()) {
                 g2d.setColor(SELECTION_COLOR);