From: jsimomaa Date: Fri, 4 Oct 2019 07:54:56 +0000 (+0300) Subject: Change zoom level from 15 to 17 for static infos X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=db03c6473f55b3ed34d3158376f9af267d37b22c;p=simantics%2Fdistrict.git Change zoom level from 15 to 17 for static infos gitlab #47 Change-Id: Ic43cd87a4f34b97d00f601db2e48280e6488ae31 --- 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();