Use Tab to switch bar panels

This commit is contained in:
David Heinemeier Hansson
2026-05-27 10:40:32 +02:00
parent 848499a76b
commit b03a7cc73c
8 changed files with 61 additions and 1 deletions
+4
View File
@@ -27,6 +27,10 @@ Item {
Qt.callLater(function() { popoutSwitchClosing = false })
}
function toggle() { opened ? close() : open() }
function switchPanel(direction) {
if (bar && typeof bar.switchPanelFrom === "function") return bar.switchPanelFrom(root, direction)
return false
}
// Read a single value from this panel's inline shell.json entry, with a
// fallback for missing/null values. Matches BarWidget.setting().