refactor(panel): remove redundant hide_dropdowns and changed_dropdown implementations

These methods were relocated to central handling via _get_all_buttons and manage_button_style_classes, simplifying the class.
This commit is contained in:
sankalp committed 2026-07-04 21:23:06 +05:45
1 parent ea815e33ca
commit f55db03235
3 files changed
+32 -15

No files matched your search

+2 -2
View File
@@ -401,7 +401,7 @@ class ModusControlCenter(AppletWindow):
svg_file(
"brightness/brightness.svg",
name="brightness-widget-icon",
size=32,
size=28,
h_align="start",
v_align="center",
)
@@ -435,7 +435,7 @@ class ModusControlCenter(AppletWindow):
svg_file(
"volume/audio-volume.svg",
name="volume-widget-icon",
size=32,
size=28,
h_align="start",
v_align="center",
)