right sidebar: add easyeffects toggle

This commit is contained in:
end-4
2025-07-17 23:42:59 +07:00
parent c461bba5a3
commit 12e107448b
5 changed files with 57 additions and 5 deletions
@@ -5,7 +5,7 @@ import QtQuick
GroupButton {
id: button
property string buttonIcon
baseWidth: altAction ? 60 : 40
baseWidth: 40
baseHeight: 40
clickedWidth: baseWidth + 20
toggled: false
@@ -14,7 +14,7 @@ GroupButton {
contentItem: MaterialSymbol {
anchors.centerIn: parent
iconSize: Appearance.font.pixelSize.larger
iconSize: 20
fill: toggled ? 1 : 0
color: toggled ? Appearance.m3colors.m3onPrimary : Appearance.colors.colOnLayer1
horizontalAlignment: Text.AlignHCenter