MapScaleBar: minor code improvements
This commit is contained in:
parent
4bfcdadb76
commit
ae04fa83f6
@ -266,7 +266,7 @@ public abstract class MapScaleBar {
|
|||||||
* @return true if redraw is necessary, false otherwise
|
* @return true if redraw is necessary, false otherwise
|
||||||
*/
|
*/
|
||||||
protected boolean isRedrawNecessary() {
|
protected boolean isRedrawNecessary() {
|
||||||
if (this.redrawNeeded || this.prevMapPosition == null) {
|
if (this.redrawNeeded) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user