Skip to content

Commit

Permalink
movePage()
Browse files Browse the repository at this point in the history
  • Loading branch information
xzel23 committed Jan 13, 2025
1 parent 5516a16 commit c0592f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions meja-fx/src/main/java/com/dua3/meja/ui/fx/FxSheetView.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,14 @@ void onKeyPressed(KeyEvent event) {
move(Direction.EAST);
event.consume();
}
case PAGE_UP -> {
movePage(Direction.NORTH);
event.consume();
}
case PAGE_DOWN -> {
movePage(Direction.SOUTH);
event.consume();
}
case C -> {
if (event.isShortcutDown()) {
copyToClipboard();
Expand Down

0 comments on commit c0592f6

Please sign in to comment.