Skip to content

Commit

Permalink
Update shortcuts so they match mac style (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinShalit authored and JLLeitschuh committed Jun 3, 2016
1 parent a6d6c07 commit fcb4cb9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ui/src/main/resources/edu/wpi/grip/ui/MainWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<Menu text="File">
<MenuItem text="New" onAction="#newProject">
<accelerator>
<KeyCodeCombination alt="UP" code="N" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
<KeyCodeCombination alt="UP" code="N" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
</accelerator>
<graphic>
<ImageView>
Expand All @@ -38,7 +38,7 @@
</MenuItem>
<MenuItem text="Open" onAction="#openProject">
<accelerator>
<KeyCodeCombination alt="UP" code="O" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
<KeyCodeCombination alt="UP" code="O" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
</accelerator>
<graphic>
<ImageView>
Expand All @@ -56,7 +56,7 @@
</MenuItem>
<MenuItem text="Save" onAction="#saveProject">
<accelerator>
<KeyCodeCombination alt="UP" code="S" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
<KeyCodeCombination alt="UP" code="S" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
</accelerator>
<graphic>
<ImageView>
Expand All @@ -74,7 +74,7 @@
</MenuItem>
<MenuItem text="Save As" onAction="#saveProjectAs">
<accelerator>
<KeyCodeCombination alt="UP" code="S" control="DOWN" meta="UP" shift="DOWN" shortcut="UP"/>
<KeyCodeCombination alt="UP" code="S" control="UP" meta="UP" shift="DOWN" shortcut="DOWN"/>
</accelerator>
<graphic>
<ImageView>
Expand All @@ -93,14 +93,14 @@
<SeparatorMenuItem/>
<MenuItem text="Exit" onAction="#quit">
<accelerator>
<KeyCodeCombination alt="UP" code="Q" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
<KeyCodeCombination alt="UP" code="Q" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
</accelerator>
</MenuItem>
</Menu>
<Menu text="Tools">
<MenuItem text="Deploy" onAction="#deploy">
<accelerator>
<KeyCodeCombination alt="UP" code="R" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
<KeyCodeCombination alt="UP" code="R" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
</accelerator>
<graphic>
<ImageView styleClass="menu-graphic">
Expand Down

0 comments on commit fcb4cb9

Please sign in to comment.