Skip to content

Commit

Permalink
Changed keybind for fit to screen (#170)
Browse files Browse the repository at this point in the history
+ Changed keybind for fit to screen to avoid conflict with workflow
  • Loading branch information
srba authored Aug 30, 2024
2 parents f7c06ac + 2d6874f commit 73134da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/pipe/gui/GuiFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public void actionPerformed(ActionEvent e) {
}
};

private final GuiAction fitToScreenAction = new GuiAction(FIT_TO_SCREEN_NAME, FIT_TO_SCREEN_TOOLTIP, KeyStroke.getKeyStroke('F', shortcutkey)) {
private final GuiAction fitToScreenAction = new GuiAction(FIT_TO_SCREEN_NAME, FIT_TO_SCREEN_TOOLTIP, KeyStroke.getKeyStroke('F', shortcutkey | InputEvent.SHIFT_DOWN_MASK)) {
public void actionPerformed(ActionEvent e) {
currentTab.ifPresent(o -> {
if (!o.isAlreadyFitToScreen()) {
Expand Down

0 comments on commit 73134da

Please sign in to comment.