mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Merge pull request #5196 from kellykelly3/1346-timeline-backspace-issue
1346 - Timeline-removed listener for backspace button
This commit is contained in:
commit
13fca219af
@ -356,13 +356,9 @@ public final class TimeLineTopComponent extends TopComponent implements Explorer
|
|||||||
scene.addEventFilter(KeyEvent.KEY_PRESSED, keyEvent -> {
|
scene.addEventFilter(KeyEvent.KEY_PRESSED, keyEvent -> {
|
||||||
if (new KeyCodeCombination(KeyCode.LEFT, KeyCodeCombination.ALT_DOWN).match(keyEvent)) {
|
if (new KeyCodeCombination(KeyCode.LEFT, KeyCodeCombination.ALT_DOWN).match(keyEvent)) {
|
||||||
new Back(controller).handle(null);
|
new Back(controller).handle(null);
|
||||||
} else if (new KeyCodeCombination(KeyCode.BACK_SPACE).match(keyEvent)) {
|
|
||||||
new Back(controller).handle(null);
|
|
||||||
} else if (new KeyCodeCombination(KeyCode.RIGHT, KeyCodeCombination.ALT_DOWN).match(keyEvent)) {
|
} else if (new KeyCodeCombination(KeyCode.RIGHT, KeyCodeCombination.ALT_DOWN).match(keyEvent)) {
|
||||||
new Forward(controller).handle(null);
|
new Forward(controller).handle(null);
|
||||||
} else if (new KeyCodeCombination(KeyCode.BACK_SPACE, KeyCodeCombination.SHIFT_DOWN).match(keyEvent)) {
|
}
|
||||||
new Forward(controller).handle(null);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//add ui componenets to JFXPanels
|
//add ui componenets to JFXPanels
|
||||||
|
Loading…
x
Reference in New Issue
Block a user