Add show/hide button icons

This commit is contained in:
Veronica Berglyd Olsen
2024-02-29 22:40:36 +01:00
parent cca309d7d7
commit b3fb1db07c
7 changed files with 22 additions and 0 deletions
+2
View File
@@ -462,6 +462,7 @@ class GuiIcons:
# Switches
"sticky-on", "sticky-off",
"bullet-on", "bullet-off",
"unfold-show", "unfold-hide",
# Decorations
"deco_doc_h0", "deco_doc_h1", "deco_doc_h2", "deco_doc_h3", "deco_doc_h4", "deco_doc_more",
@@ -472,6 +473,7 @@ class GuiIcons:
TOGGLE_ICON_KEYS: dict[str, tuple[str, str]] = {
"sticky": ("sticky-on", "sticky-off"),
"bullet": ("bullet-on", "bullet-off"),
"unfold": ("unfold-show", "unfold-hide"),
}
IMAGE_MAP: dict[str, tuple[str, str]] = {