sidebar: add option for hover open at end of hover region

This commit is contained in:
end-4
2025-10-16 09:59:36 +02:00
parent 20bda361a3
commit a5170c51b3
3 changed files with 23 additions and 1 deletions
@@ -612,6 +612,8 @@ ContentPage {
Config.options.sidebar.cornerOpen.enable = checked;
}
}
}
Row {
ConfigSwitch {
buttonIcon: "highlight_mouse_cursor"
text: Translation.tr("Hover to trigger")
@@ -624,6 +626,18 @@ ContentPage {
text: Translation.tr("When this is off you'll have to click")
}
}
ConfigSwitch {
enabled: !Config.options.sidebar.cornerOpen.clickless
text: Translation.tr("but force at absolute corner")
checked: Config.options.sidebar.cornerOpen.clicklessCornerEnd
onCheckedChanged: {
Config.options.sidebar.cornerOpen.clicklessCornerEnd = checked;
}
StyledToolTip {
text: Translation.tr("When the previous option is off and this is on,\nyou can still hover the corner's end to open sidebar,\nand the remaining area can be used for volume/brightness scroll")
}
}
}
ConfigRow {
uniform: true