Ignore:
Timestamp:
2017-05-15T14:57:25+02:00 (7 years ago)
Author:
michael2402
Message:

Fix DrawAction helper line not being painted while imagery displacement action is active.

File:
1 edited

Legend:

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

    r12131 r12158  
    11521152                || currentMouseEastNorth == null || getCurrentBaseNode() == null
    11531153                // don't draw line if mouse is outside window
    1154                 || !Main.map.mapView.getBounds().contains(mousePos))
     1154                || !Main.map.mapView.getState().getForView(mousePos.getX(), mousePos.getY()).isInView())
    11551155            return;
    11561156
Note: See TracChangeset for help on using the changeset viewer.