Add Legacy panel mode, keyboard navigation and fixed recording issues. (#293)
This commit is contained in:
@@ -55,7 +55,8 @@ end)
|
||||
function onClick()
|
||||
-- The bar icon never stops a recording; it just opens the panel so the
|
||||
-- stop button (in the panel header, next to the close X) is reachable.
|
||||
local panelId = noctalia.getConfig("panel-mode") == "full" and "alexander/screen-toolkit:panel-full" or "alexander/screen-toolkit:panel"
|
||||
local mode = noctalia.getConfig("panel-mode")
|
||||
local panelId = mode == "full" and "alexander/screen-toolkit:panel-full" or (mode == "legacy" and "alexander/screen-toolkit:panel-legacy" or "alexander/screen-toolkit:panel")
|
||||
noctalia.togglePanel(panelId)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user