Changeset 2722 in josm for trunk


Ignore:
Timestamp:
2010-01-01T12:54:04+01:00 (10 years ago)
Author:
stoecker
Message:

fixed #4278 - nagging warnings

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

Legend:

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

    r2675 r2722  
    5555        showIconsDistance = Main.pref.getInteger("mappaint.showicons", 10000000);
    5656
    57         selectedNodeSize = Main.pref.getInteger("mappaint.node.selected-size", 4);
    58         unselectedNodeSize = Main.pref.getInteger("mappaint.node.unselected-size", 2);
    59         taggedNodeSize = Main.pref.getInteger("mappaint.node.tagged-size", 4);
     57        selectedNodeSize = Main.pref.getInteger("mappaint.node.selected-size", 6);
     58        unselectedNodeSize = Main.pref.getInteger("mappaint.node.unselected-size", 4);
     59        taggedNodeSize = Main.pref.getInteger("mappaint.node.tagged-size", 6);
    6060        fillSelectedNode = Main.pref.getBoolean("mappaint.node.fill-selected", true);
    6161        fillUnselectedNode = Main.pref.getBoolean("mappaint.node.fill-unselected", false);
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/SimplePaintVisitor.java

    r2671 r2722  
    100100        showHeadArrowOnly = Main.pref.getBoolean("draw.segment.head_only", false);
    101101        showOrderNumber = Main.pref.getBoolean("draw.segment.order_number", false);
    102         selectedNodeRadius = Main.pref.getInteger("mappaint.node.selected-size", 5) / 2;
    103         selectedNodeSize = selectedNodeRadius * 2;
    104         unselectedNodeRadius = Main.pref.getInteger("mappaint.node.unselected-size", 3) / 2;
    105         unselectedNodeSize = unselectedNodeRadius * 2;
    106         taggedNodeRadius = Main.pref.getInteger("mappaint.node.tagged-size", 5) / 2;
    107         taggedNodeSize = taggedNodeRadius * 2;
     102        selectedNodeSize = Main.pref.getInteger("mappaint.node.selected-size", 6);
     103        selectedNodeRadius = selectedNodeSize / 2;
     104        unselectedNodeSize = Main.pref.getInteger("mappaint.node.unselected-size", 4);
     105        unselectedNodeRadius = unselectedNodeSize / 2;
     106        taggedNodeSize = Main.pref.getInteger("mappaint.node.tagged-size", 6);
     107        taggedNodeRadius = taggedNodeSize / 2;
    108108        defaultSegmentWidth = Main.pref.getInteger("mappaint.segment.default-width", 2);
    109109        fillSelectedNode = Main.pref.getBoolean("mappaint.node.fill-selected", true);
Note: See TracChangeset for help on using the changeset viewer.