Changeset 4644 in josm for trunk/src/org


Ignore:
Timestamp:
2011-12-09T08:12:39+01:00 (9 years ago)
Author:
stoecker
Message:

fix linewidth for GPX layers

File:
1 edited

Legend:

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

    r4334 r4644  
    1616import java.awt.Point;
    1717import java.awt.RenderingHints;
     18import java.awt.Stroke;
    1819import java.awt.event.ActionEvent;
    1920import java.awt.event.MouseAdapter;
     
    455456        int hdopfactor = Main.pref.getInteger("hdop.factor", 25);
    456457
     458        Stroke storedStroke = g.getStroke();
    457459        if(lineWidth != 0)
    458460        {
     
    797799        } // end if large
    798800
     801        if(lineWidth != 0)
     802        {
     803            g.setStroke(storedStroke);
     804        }
    799805        // Long duration = System.currentTimeMillis() - startTime;
    800806        // System.out.println(duration);
Note: See TracChangeset for help on using the changeset viewer.