Changeset 32199 in osm for applications/editors/josm/plugins/mapillary/src
- Timestamp:
- 2016-05-28T12:41:21+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryPreferenceSetting.java
r32076 r32199 57 57 private final JCheckBox format24 = new JCheckBox(I18n.tr("Use 24 hour format")); 58 58 private final JCheckBox moveTo = new JCheckBox(I18n.tr("Move to picture''s location with next/previous buttons")); 59 private final JCheckBox hoverEnabled = new JCheckBox(I18n.tr("Preview images when hovering its icon")); 59 60 60 61 private final JButton loginButton = new MapillaryButton(I18n.tr("Login"), new LoginAction(this)); … … 99 100 format24.setSelected(Main.pref.getBoolean("mapillary.format-24")); 100 101 moveTo.setSelected(Main.pref.getBoolean("mapillary.move-to-picture", true)); 102 this.hoverEnabled.setSelected(Main.pref.getBoolean("mapillary.hover-enabled", true)); 101 103 102 104 mainPanel.setLayout(new GridBagLayout()); … … 119 121 mainPanel.add(format24, GBC.eol()); 120 122 mainPanel.add(moveTo, GBC.eol()); 123 mainPanel.add(hoverEnabled, GBC.eol()); 121 124 MapillaryColorScheme.styleAsDefaultPanel( 122 125 mainPanel, downloadModePanel, reverseButtons, displayHour, format24, moveTo … … 182 185 Main.pref.put("mapillary.format-24", this.format24.isSelected()); 183 186 Main.pref.put("mapillary.move-to-picture", this.moveTo.isSelected()); 187 Main.pref.put("mapillary.hover-enabled", this.hoverEnabled.isSelected()); 184 188 return mod; 185 189 } -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/SelectMode.java
r31972 r32199 160 160 return; 161 161 } 162 if (!Main.pref.getBoolean("mapillary.hover-enabled", true)) { 163 return; 164 } 165 162 166 MapillaryAbstractImage closestTemp = getClosest(e.getPoint()); 163 167
Note:
See TracChangeset
for help on using the changeset viewer.