Changeset 10661 in josm


Ignore:
Timestamp:
2016-07-28T00:29:14+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13229 - Can't unselect objects (partial revert of r10659)

File:
1 edited

Legend:

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

    r10659 r10661  
    9292        @Override
    9393        public void paint(Graphics2D g, MapView mv, Bounds bbox) {
    94             if (mousePos == null || mousePosStart == null || mousePos.equals(mousePosStart))
     94            if (mousePos == null || mousePosStart == null || mousePos == mousePosStart)
    9595                return;
    9696            Color color = Utils.complement(PaintColors.getBackgroundColor());
     
    279279
    280280    private boolean isNoSelection() {
    281         return mousePos == null || mousePosStart == null || mousePos.equals(mousePosStart);
     281        return mousePos == null || mousePosStart == null || mousePos == mousePosStart;
    282282    }
    283283
Note: See TracChangeset for help on using the changeset viewer.