Changeset 5099 in josm for trunk/src


Ignore:
Timestamp:
2012-03-18T12:54:26+01:00 (8 years ago)
Author:
xeen
Message:

flip default value for wayIsFinished variable when entering drawMode

By default no draw is active, i.e. the helper line needs not to be
drawn. wayIsFinished should reflect this, because otherwise super-
fluous repaints are issued. See #7503

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java

    r5098 r5099  
    187187        drawHelperLine = Main.pref.getBoolean("draw.helper-line", true);
    188188        drawTargetHighlight = Main.pref.getBoolean("draw.target-highlight", true);
    189         wayIsFinished = false;
     189        wayIsFinished = true;
    190190        snapHelper.init();
    191191        snapCheckboxMenuItem.getAction().setEnabled(true);
Note: See TracChangeset for help on using the changeset viewer.