Changeset 10433 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2016-06-20T00:52:59+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapMover.java
r10432 r10433 65 65 } 66 66 67 /** 68 * Constructs a new {@code ZoomerAction}. 69 * @param action action 70 * @param name name 71 * @since 10432 72 */ 73 public ZoomerAction(String action, String name) { 67 ZoomerAction(String action, String name) { 74 68 this.action = action; 75 69 putValue(NAME, name); -
trunk/src/org/openstreetmap/josm/gui/layer/MainLayerManager.java
r10432 r10433 275 275 } 276 276 } 277 278 277 279 278 /** -
trunk/src/org/openstreetmap/josm/gui/layer/NoteLayer.java
r10428 r10433 33 33 import org.openstreetmap.josm.gui.dialogs.LayerListDialog; 34 34 import org.openstreetmap.josm.gui.dialogs.LayerListPopup; 35 import org.openstreetmap.josm.gui.dialogs.NotesDialog;36 35 import org.openstreetmap.josm.gui.io.AbstractIOTask; 37 36 import org.openstreetmap.josm.gui.io.UploadNoteLayerTask; … … 109 108 @Override 110 109 public void paint(Graphics2D g, MapView mv, Bounds box) { 111 final int iconHeight = GuiSizesHelper.getSizeDpiAdjusted( 112 final int iconWidth 110 final int iconHeight = GuiSizesHelper.getSizeDpiAdjusted(ImageProvider.ImageSizes.SMALLICON.getVirtualHeight()); 111 final int iconWidth = GuiSizesHelper.getSizeDpiAdjusted(ImageProvider.ImageSizes.SMALLICON.getVirtualWidth()); 113 112 114 113 for (Note note : noteData.getNotes()) { … … 248 247 double snapDistance = 10; 249 248 double minDistance = Double.MAX_VALUE; 250 final int iconHeight = GuiSizesHelper.getSizeDpiAdjusted( 249 final int iconHeight = GuiSizesHelper.getSizeDpiAdjusted(ImageProvider.ImageSizes.SMALLICON.getVirtualHeight()); 251 250 Note closestNote = null; 252 251 for (Note note : noteData.getNotes()) {
Note:
See TracChangeset
for help on using the changeset viewer.