make some buttons trigger on mouse down to feel faster

This commit is contained in:
end-4
2025-10-12 16:30:41 +02:00
parent edde61a46c
commit 36b33ba4f1
18 changed files with 35 additions and 34 deletions
@@ -18,7 +18,7 @@ Scope { // Scope
baseWidth: 40
baseHeight: 40
clickedWidth: baseWidth
clickedHeight: baseHeight + 20
clickedHeight: baseHeight + 10
buttonRadius: Appearance.rounding.normal
}
@@ -84,7 +84,7 @@ Scope { // Scope
VerticalButtonGroup {
OskControlButton { // Pin button
toggled: root.pinned
onClicked: root.pinned = !root.pinned
downAction: () => root.pinned = !root.pinned
contentItem: MaterialSymbol {
text: "keep"
horizontalAlignment: Text.AlignHCenter