Ignore:
Timestamp:
2017-06-08T01:00:48+02:00 (7 years ago)
Author:
michael2402
Message:

Fix #14893: Invalidate geo image / marker layer instead of repainting map view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ThumbsLoader.java

    r11620 r12340  
    8282
    8383                if (layer != null && Main.isDisplayingMapView()) {
    84                     layer.updateOffscreenBuffer = true;
    85                     Main.map.mapView.repaint();
     84                    layer.updateBufferAndRepaint();
    8685                }
    8786            }
     
    8988        if (layer != null) {
    9089            layer.thumbsLoaded();
    91             layer.updateOffscreenBuffer = true;
    92             Main.map.mapView.repaint();
     90            layer.updateBufferAndRepaint();
    9391        }
    9492    }
Note: See TracChangeset for help on using the changeset viewer.