From 27f0f6dd22d6826ae85ea89b1916d17ca9f83c41 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Mon, 21 Oct 2019 12:58:49 +0300 Subject: [PATCH] Show detailed geometry on further zoom distance gitlab #35 Change-Id: I816e552364b0c62529a7296c033379cf558df037 --- .../district/network/ui/nodes/DistrictNetworkEdgeNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkEdgeNode.java b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkEdgeNode.java index 00fe2184..8c4af387 100644 --- a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkEdgeNode.java +++ b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkEdgeNode.java @@ -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); -- 2.47.1