MapScaleBar: minor code improvements

This commit is contained in:
Emux 2019-11-04 18:26:34 +02:00
parent 4bfcdadb76
commit ae04fa83f6
No known key found for this signature in database
GPG Key ID: 64ED9980896038C3

View File

@ -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;
}