- Timestamp:
- 2012-01-04T10:02:41+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r4739 r4763 257 257 // if the middle mouse button has been pressed in the first 258 258 // place 259 boolean isAtOldPosition = (oldMousePos != null260 && oldMousePos.equals(ms.mousePos) 261 && popup != null);259 boolean mouseNotMoved = oldMousePos != null 260 && oldMousePos.equals(ms.mousePos); 261 boolean isAtOldPosition = mouseNotMoved && popup != null; 262 262 boolean middleMouseDown = (ms.modifiers & MouseEvent.BUTTON2_DOWN_MASK) != 0; 263 263 try { … … 275 275 } 276 276 277 // Set the text label in the bottom status bar 278 statusBarElementUpdate(ms); 277 // Set the text label in the bottom status bar 278 // "if mouse moved only" was added to stop heap growing 279 if (!mouseNotMoved) statusBarElementUpdate(ms); 279 280 280 281
Note:
See TracChangeset
for help on using the changeset viewer.