Changeset 10433 in josm
- Timestamp:
- 2016-06-20T00:52:59+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java
r10428 r10433 16 16 import org.openstreetmap.josm.gui.NoteInputDialog; 17 17 import org.openstreetmap.josm.gui.Notification; 18 import org.openstreetmap.josm.gui.dialogs.NotesDialog;19 18 import org.openstreetmap.josm.gui.util.KeyPressReleaseListener; 20 19 import org.openstreetmap.josm.tools.CheckParameterUtil; -
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( ImageProvider.ImageSizes.SMALLICON.getVirtualHeight());112 final int iconWidth = GuiSizesHelper.getSizeDpiAdjusted( ImageProvider.ImageSizes.SMALLICON.getVirtualWidth());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( ImageProvider.ImageSizes.SMALLICON.getVirtualHeight());249 final int iconHeight = GuiSizesHelper.getSizeDpiAdjusted(ImageProvider.ImageSizes.SMALLICON.getVirtualHeight()); 251 250 Note closestNote = null; 252 251 for (Note note : noteData.getNotes()) { -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r10428 r10433 824 824 825 825 String prefix = ""; 826 if (isDisabled)827 prefix = "dis:"+prefix;826 if (isDisabled) 827 prefix = "dis:"+prefix; 828 828 if (name.startsWith("data:")) { 829 829 String url = name;
Note:
See TracChangeset
for help on using the changeset viewer.