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
+2 -2
View File
@@ -172,7 +172,7 @@ ApplicationWindow {
iconText: "edit"
buttonText: Translation.tr("Config file")
expanded: navRail.expanded
onClicked: {
downAction: () => {
Qt.openUrlExternally(`${Directories.config}/illogical-impulse/config.json`);
}
@@ -190,7 +190,7 @@ ApplicationWindow {
required property var index
required property var modelData
toggled: root.currentPage === index
onClicked: root.currentPage = index;
onPressed: root.currentPage = index;
expanded: navRail.expanded
buttonIcon: modelData.icon
buttonIconRotation: modelData.iconRotation || 0