Changeset 3895 in josm for trunk/src/org


Ignore:
Timestamp:
2011-02-13T10:50:41+01:00 (14 years ago)
Author:
bastiK
Message:

turn antialiasing on by default (except wireframe)

Location:
trunk/src/org/openstreetmap/josm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintVisitor.java

    r3862 r3895  
    111111
    112112        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    113                 Main.pref.getBoolean("mappaint.use-antialiasing", false) ?
     113                Main.pref.getBoolean("mappaint.use-antialiasing", true) ?
    114114                        RenderingHints.VALUE_ANTIALIAS_ON : RenderingHints.VALUE_ANTIALIAS_OFF);
    115115
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/SimplePaintVisitor.java

    r3685 r3895  
    127127
    128128        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    129                 Main.pref.getBoolean("mappaint.use-antialiasing", false) ?
     129                Main.pref.getBoolean("mappaint.wireframe.use-antialiasing", false) ?
    130130                        RenderingHints.VALUE_ANTIALIAS_ON : RenderingHints.VALUE_ANTIALIAS_OFF);
    131131    }
  • trunk/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java

    r3691 r3895  
    260260        // antialiasing
    261261        useAntialiasing.setToolTipText(tr("Apply antialiasing to the map view resulting in a smoother appearance."));
    262         useAntialiasing.setSelected(Main.pref.getBoolean("mappaint.use-antialiasing", false));
     262        useAntialiasing.setSelected(Main.pref.getBoolean("mappaint.use-antialiasing", true));
    263263        panel.add(useAntialiasing, GBC.eop().insets(20,0,0,0));
    264264
Note: See TracChangeset for help on using the changeset viewer.