Ignore:
Timestamp:
2017-11-23T03:14:45+01:00 (2 years ago)
Author:
Don-vip
Message:

fix #14778 - stroke not reset after drawing of large areas produced graphics artifacts when painting world bounds and selection rectangles, bug seen when filtering ways only, as way rendering reset the stroke

Location:
trunk/src/org/openstreetmap/josm/data/osm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/FilterModel.java

    r12851 r13150  
    2121import org.openstreetmap.josm.data.osm.search.SearchParseError;
    2222import org.openstreetmap.josm.gui.MainApplication;
    23 import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    2423import org.openstreetmap.josm.gui.widgets.OSDLabel;
    2524import org.openstreetmap.josm.spi.preferences.Config;
     
    200199
    201200    private static void updateMap() {
    202         OsmDataLayer editLayer = MainApplication.getLayerManager().getEditLayer();
    203         if (editLayer != null) {
    204             editLayer.invalidate();
    205         }
     201        MainApplication.getLayerManager().invalidateEditLayer();
    206202    }
    207203
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r12966 r13150  
    428428                    g.draw(area);
    429429                    g.setClip(oldClip);
     430                    g.setStroke(new BasicStroke());
    430431                }
    431432            } else {
Note: See TracChangeset for help on using the changeset viewer.