Skip to content

Commit fcb4cb9

Browse files
AustinShalitJLLeitschuh
authored andcommitted
Update shortcuts so they match mac style (#598)
1 parent a6d6c07 commit fcb4cb9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ui/src/main/resources/edu/wpi/grip/ui/MainWindow.fxml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<Menu text="File">
2121
<MenuItem text="New" onAction="#newProject">
2222
<accelerator>
23-
<KeyCodeCombination alt="UP" code="N" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
23+
<KeyCodeCombination alt="UP" code="N" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
2424
</accelerator>
2525
<graphic>
2626
<ImageView>
@@ -38,7 +38,7 @@
3838
</MenuItem>
3939
<MenuItem text="Open" onAction="#openProject">
4040
<accelerator>
41-
<KeyCodeCombination alt="UP" code="O" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
41+
<KeyCodeCombination alt="UP" code="O" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
4242
</accelerator>
4343
<graphic>
4444
<ImageView>
@@ -56,7 +56,7 @@
5656
</MenuItem>
5757
<MenuItem text="Save" onAction="#saveProject">
5858
<accelerator>
59-
<KeyCodeCombination alt="UP" code="S" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
59+
<KeyCodeCombination alt="UP" code="S" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
6060
</accelerator>
6161
<graphic>
6262
<ImageView>
@@ -74,7 +74,7 @@
7474
</MenuItem>
7575
<MenuItem text="Save As" onAction="#saveProjectAs">
7676
<accelerator>
77-
<KeyCodeCombination alt="UP" code="S" control="DOWN" meta="UP" shift="DOWN" shortcut="UP"/>
77+
<KeyCodeCombination alt="UP" code="S" control="UP" meta="UP" shift="DOWN" shortcut="DOWN"/>
7878
</accelerator>
7979
<graphic>
8080
<ImageView>
@@ -93,14 +93,14 @@
9393
<SeparatorMenuItem/>
9494
<MenuItem text="Exit" onAction="#quit">
9595
<accelerator>
96-
<KeyCodeCombination alt="UP" code="Q" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
96+
<KeyCodeCombination alt="UP" code="Q" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
9797
</accelerator>
9898
</MenuItem>
9999
</Menu>
100100
<Menu text="Tools">
101101
<MenuItem text="Deploy" onAction="#deploy">
102102
<accelerator>
103-
<KeyCodeCombination alt="UP" code="R" control="DOWN" meta="UP" shift="UP" shortcut="UP"/>
103+
<KeyCodeCombination alt="UP" code="R" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
104104
</accelerator>
105105
<graphic>
106106
<ImageView styleClass="menu-graphic">

0 commit comments

Comments
 (0)