Ignore:
Timestamp:
2017-11-23T22:10:26+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #13883, fix #15586 - better fix for #13883, without breaking panning on macOS

File:
1 edited

Legend:

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

    r13143 r13154  
    910910    }
    911911
    912     @Override
    913     protected void refreshMouse() {
    914         if (lastMEvent.getWhen() > 0) {
    915             // This fake movement allows to keep consistent state between mouse position and hilighted primitives, status bar, etc.
    916             // When the map is not moved by mouse (for example with keyboard shortcuts)
    917             dispatchEvent(new MouseEvent(this, MouseEvent.MOUSE_MOVED, System.currentTimeMillis(), 0,
    918                     lastMEvent.getX(), lastMEvent.getY(), 0, false));
    919         }
    920     }
    921 
    922912    /**
    923913     * Returns the layer manager.
Note: See TracChangeset for help on using the changeset viewer.