Changeset 13891 in josm


Ignore:
Timestamp:
2018-06-04T20:35:55+02:00 (3 months ago)
Author:
Don-vip
Message:

fix #11556 - switch imagery layer pressing tilde (~) or square (²) key

Location:
trunk/src/org/openstreetmap/josm
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r13090 r13891  
    8080import org.openstreetmap.josm.actions.PurgeAction;
    8181import org.openstreetmap.josm.actions.RedoAction;
     82import org.openstreetmap.josm.actions.ReorderImageryLayersAction;
    8283import org.openstreetmap.josm.actions.ReportBugAction;
    8384import org.openstreetmap.josm.actions.RestartAction;
     
    387388    private static final int defaultMenuPos = 11;
    388389
     390    /** Move the selection up */
    389391    public final JosmAction moveUpAction = new MoveAction(MoveAction.Direction.UP);
     392    /** Move the selection down */
    390393    public final JosmAction moveDownAction = new MoveAction(MoveAction.Direction.DOWN);
     394    /** Move the selection left */
    391395    public final JosmAction moveLeftAction = new MoveAction(MoveAction.Direction.LEFT);
     396    /** Move the selection right */
    392397    public final JosmAction moveRightAction = new MoveAction(MoveAction.Direction.RIGHT);
    393398
     399    /** Reorder imagery layers */
     400    public final ReorderImageryLayersAction reorderImageryLayersAction = new ReorderImageryLayersAction();
     401
     402    /** Search tagging presets */
    394403    public final TaggingPresetSearchAction presetSearchAction = new TaggingPresetSearchAction();
     404    /** Search objects by their tagging preset */
    395405    public final TaggingPresetSearchPrimitiveDialog.Action presetSearchPrimitiveAction = new TaggingPresetSearchPrimitiveDialog.Action();
     406    /** Toggle visibility of dialogs panel */
    396407    public final DialogsToggleAction dialogsToggleAction = new DialogsToggleAction();
     408    /** Toggle the full-screen mode */
    397409    public FullscreenToggleAction fullscreenToggleAction;
    398410
     
    761773        presetsMenu.addSeparator();
    762774
     775        add(imageryMenu, reorderImageryLayersAction);
    763776        add(imageryMenu, PreferencesAction.forPreferenceTab(tr("Imagery preferences"),
    764777                tr("Click to open the imagery tab in the preferences"), ImageryPreference.class));
Note: See TracChangeset for help on using the changeset viewer.