Changeset 5407 in josm for trunk/src/org


Ignore:
Timestamp:
2012-08-08T09:39:31+02:00 (12 years ago)
Author:
bastiK
Message:

prevent paint cache invalidation from beeing swallowed during paint operation (that was invoked previously by an unrelated event)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r5406 r5407  
    519519        synchronized (this) {
    520520            canUseBuffer = !paintPreferencesChanged;
     521            paintPreferencesChanged = false;
    521522        }
    522523        canUseBuffer = canUseBuffer && nonChangedLayers.size() <= nonChangedLayersCount &&
     
    568569        }
    569570        lastViewID = getViewID();
    570         paintPreferencesChanged = false;
    571571        lastClipBounds = g.getClipBounds();
    572572
Note: See TracChangeset for help on using the changeset viewer.