From 57e481e8592aad3f29f6d7b1dd0a8b93c27364f1 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Fri, 4 Oct 2019 10:54:56 +0300 Subject: [PATCH] Change zoom level from 15 to 17 for static infos gitlab #47 Change-Id: Ic43cd87a4f34b97d00f601db2e48280e6488ae31 (cherry picked from commit db03c6473f55b3ed34d3158376f9af267d37b22c) --- .../network/ui/nodes/DistrictNetworkStaticInfoNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkStaticInfoNode.java b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkStaticInfoNode.java index b86d0acb..94b4e896 100644 --- a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkStaticInfoNode.java +++ b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkStaticInfoNode.java @@ -59,7 +59,7 @@ public class DistrictNetworkStaticInfoNode extends G2DNode implements DeferredNo baseTransform.preConcatenate(oldTransform); int zoomLevel = MapScalingTransform.zoomLevel(baseTransform); - if (zoomLevel < 15) + if (zoomLevel < 17) return; Font oldFont = g.getFont(); -- 2.47.1