Changeset 13131 in josm
- Timestamp:
- 2017-11-19T20:49:07+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java
r13129 r13131 65 65 private String osdText; 66 66 67 private static final BooleanProperty AGPIFO_STYLE 2=67 private static final BooleanProperty AGPIFO_STYLE = 68 68 new BooleanProperty("geoimage.agpifo-style-drag-and-zoom", false); 69 69 private static int dragButton; … … 93 93 public void preferenceChanged(PreferenceChangeEvent e) { 94 94 if (e == null || 95 e.getKey().equals(AGPIFO_STYLE 2.getKey())) {96 dragButton = AGPIFO_STYLE 2.get() ? 1 : 3;95 e.getKey().equals(AGPIFO_STYLE.getKey())) { 96 dragButton = AGPIFO_STYLE.get() ? 1 : 3; 97 97 zoomButton = dragButton == 1 ? 3 : 1; 98 98 }
Note:
See TracChangeset
for help on using the changeset viewer.