fixes tab cycling

This commit is contained in:
André Michelle
2025-08-11 10:06:57 +02:00
parent 392e8011ea
commit f53d49e0ff
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -36,12 +36,13 @@ export class Shortcuts {
} else if (code === "KeyM") {
service.panelLayout.getByType(PanelType.Mixer).toggleMinimize()
} else if (code === "Tab") {
event.preventDefault()
const keys = Object.entries(DefaultWorkspace)
.filter((entry: [string, Workspace.Screen]) => !entry[1].hidden)
.map(([key]) => key as Workspace.ScreenKeys)
const screen = service.layout.screen
const current = screen.getValue()
if (isUndefined(current)) {return}
if (isUndefined(current) || !keys.includes(current)) {return}
if (event.shiftKey) {
screen.setValue(Arrays.getPrev(keys, current))
} else {
+1 -1
View File
@@ -20,7 +20,7 @@
### Importer
* Map to new uuids (not when exporting)
* ~~Map to new uuids (not when exporting)~~
* ~~Create the openDAW device if found~~
* ~~Read preset~~
* Create automation