From ae04fa83f69e57c3daf4ec379ee243c1071501c6 Mon Sep 17 00:00:00 2001 From: Emux Date: Mon, 4 Nov 2019 18:26:34 +0200 Subject: [PATCH] MapScaleBar: minor code improvements --- vtm/src/org/oscim/scalebar/MapScaleBar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtm/src/org/oscim/scalebar/MapScaleBar.java b/vtm/src/org/oscim/scalebar/MapScaleBar.java index d8f052d7..28b17ce4 100644 --- a/vtm/src/org/oscim/scalebar/MapScaleBar.java +++ b/vtm/src/org/oscim/scalebar/MapScaleBar.java @@ -266,7 +266,7 @@ public abstract class MapScaleBar { * @return true if redraw is necessary, false otherwise */ protected boolean isRedrawNecessary() { - if (this.redrawNeeded || this.prevMapPosition == null) { + if (this.redrawNeeded) { return true; }