# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: E:\JAVA\JOSM2\core\src\org\openstreetmap\josm\gui
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
|
| 256 | 256 | // variable true. Of course we only want the popup to show |
| 257 | 257 | // if the middle mouse button has been pressed in the first |
| 258 | 258 | // place |
| 259 | | boolean isAtOldPosition = (oldMousePos != null |
| 260 | | && 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 { |
| 264 | 264 | ds = mv.getCurrentDataSet(); |
| … |
… |
|
| 275 | 275 | } |
| 276 | 276 | |
| 277 | 277 | // Set the text label in the bottom status bar |
| 278 | | statusBarElementUpdate(ms); |
| | 278 | // "if mouse moved only" was added to stop heap growing |
| | 279 | if (!mouseNotMoved) statusBarElementUpdate(ms); |
| 279 | 280 | |
| 280 | 281 | |
| 281 | 282 | // Popup Information |