add corner scrolling for brightness/volume

This commit is contained in:
end-4
2025-08-26 14:38:37 +07:00
parent e7ffd2455a
commit 9f4aa3f7e1
7 changed files with 89 additions and 23 deletions
@@ -412,7 +412,32 @@ ContentPage {
}
StyledToolTip {
content: "When this is off you'll have to click"
content: Translation.tr("When this is off you'll have to click")
}
}
}
ConfigRow {
uniform: true
ConfigSwitch {
text: Translation.tr("Place at bottom")
checked: Config.options.sidebar.cornerOpen.bottom
onCheckedChanged: {
Config.options.sidebar.cornerOpen.bottom = checked;
}
StyledToolTip {
content: Translation.tr("Place the corners to trigger at the bottom")
}
}
ConfigSwitch {
text: Translation.tr("Value scroll")
checked: Config.options.sidebar.cornerOpen.valueScroll
onCheckedChanged: {
Config.options.sidebar.cornerOpen.valueScroll = checked;
}
StyledToolTip {
content: Translation.tr("Brightness and volume")
}
}
}