diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-17 09:40:51 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-17 09:40:51 +0100 |
| commit | 474ddd078d0d976a84e88b8003bbf0cee40a2aaa (patch) | |
| tree | 8cb683b41a552a0e892192e9ded9104de41a8437 /desktop/Settings.qml | |
| parent | bc2a46b48248e7b153194ab22cadd9430c4adb8f (diff) | |
| download | quickshell-474ddd078d0d976a84e88b8003bbf0cee40a2aaa.tar.gz quickshell-474ddd078d0d976a84e88b8003bbf0cee40a2aaa.zip | |
The settings window's page scroller, sidebar and landing page take a
higher maximum flick velocity (8000, Qt's default 2500) and a stronger
deceleration (4000, from 1500), so a fast wheel spin travels further
while a single notch does not coast on.
Pages also answer Page Up/Down (90% of a screen) and Home/End. A
ScrollView handles none of them, and nothing on a page could hold
focus except its fields, so a MouseArea beneath the content focuses
the scroller on a click in empty space. It sits under every item, so
fields and buttons keep their clicks; it has no onWheel, so wheel
events pass to the Flickable. Keys pressed in a field bubble up:
Page Up/Down still scroll, Home/End stay with the field's cursor.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/Settings.qml')
| -rw-r--r-- | desktop/Settings.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/Settings.qml b/desktop/Settings.qml index 6b81586..2e151a9 100644 --- a/desktop/Settings.qml +++ b/desktop/Settings.qml @@ -228,6 +228,9 @@ Scope { // Without it a scrolled list draws over the search box. clip: true model: root.found + // Faster wheel scrolling, as Page.qml. + maximumFlickVelocity: 8000 + flickDeceleration: 4000 // A group's heading above its first entry, then the entry. delegate: Column { @@ -449,6 +452,9 @@ Scope { contentHeight: about.height clip: true boundsBehavior: Flickable.StopAtBounds + // Faster wheel scrolling, as Page.qml. + maximumFlickVelocity: 8000 + flickDeceleration: 4000 ScrollBar.vertical: ScrollBar {} Column { |
