feat(panel): remove full mode, rename compact to standard and fixed some UI (#328)
* feat(panel): remove full mode, rename compact to standard - Remove panel-full entry (660×340) and all full-mode code paths - Rename compact → standard across panel, settings, translations - Restrict tile hover/click to icon+label only (no border hover) - Shrink close button to 24×24 with 12px glyph - Reduce standard section vertical padding to 4px - Standard panel height: 290 → 260 (matches legacy at 260) - Fix widget/shortcut/service toggle to respect panel-mode setting - Update README with correct sizes and behavior * added new thumbnail.webp --------- Co-authored-by: Ahmed5Emad <ahmed5emad@users.noreply.github.com>
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
-- lands in /tmp as MP4; GIF is produced on save via record.sh convert-gif.
|
||||
|
||||
local PANEL_ID = "alexander/screen-toolkit:panel"
|
||||
local FULL_PANEL_ID = "alexander/screen-toolkit:panel-full"
|
||||
local LEGACY_PANEL_ID = "alexander/screen-toolkit:panel-legacy"
|
||||
local RESULT_PANEL_ID = "alexander/screen-toolkit:result"
|
||||
|
||||
@@ -937,7 +936,7 @@ local HANDLERS = {
|
||||
setAudioIn = function(payload) overrideAudioIn = (type(payload) == "table" and payload.value or payload) == true end,
|
||||
toggle = function()
|
||||
local mode = cfg("panel-mode")
|
||||
local id = mode == "full" and FULL_PANEL_ID or (mode == "legacy" and LEGACY_PANEL_ID or PANEL_ID)
|
||||
local id = mode == "legacy" and LEGACY_PANEL_ID or PANEL_ID
|
||||
noctalia.togglePanel(id)
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user