diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-13 09:59:53 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-13 09:59:53 +0200 |
| commit | de8294eab208b95cef9bd376d98fb232e3a4c4c4 (patch) | |
| tree | 9b6e11acacf9353308c46b405f7b75532d3eb827 /desktop/island/ControlsPanel.qml | |
| parent | 9de89ae1512928283c1de7360e0313e1e2975b47 (diff) | |
| download | quickshell-de8294eab208b95cef9bd376d98fb232e3a4c4c4.tar.gz quickshell-de8294eab208b95cef9bd376d98fb232e3a4c4c4.zip | |
fix(island): review findings in the controls panel
Edit mode let a right-click and the wheel through to the tile, so a
right-click opened the drawer and scroll changed volume, against the
spec. The drag area now takes both buttons and the wheel.
A scroll up on a level already above the cap, such as a mic set to 120%
elsewhere, snapped it down to the cap. The cap now only stops a step up.
Prefs logs a failed write, which printErrors off had silenced: the new
order would otherwise vanish at the next restart with no trace. Its
parsed object is renamed from data to doc, so it cannot shadow a base
property of that name.
The spec now says what was built: JSON.parse rather than a JsonAdapter,
and the helper list as it is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/island/ControlsPanel.qml')
| -rw-r--r-- | desktop/island/ControlsPanel.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/island/ControlsPanel.qml b/desktop/island/ControlsPanel.qml index a21b892..a7872d7 100644 --- a/desktop/island/ControlsPanel.qml +++ b/desktop/island/ControlsPanel.qml @@ -98,6 +98,10 @@ Column { anchors.fill: parent enabled: panel.editing preventStealing: true + // Both buttons and the wheel, so in edit mode nothing + // reaches the tile: no drawer page, no volume change. + acceptedButtons: Qt.LeftButton | Qt.RightButton + onWheel: wheel => wheel.accepted = true cursorShape: pressed ? Qt.ClosedHandCursor : Qt.OpenHandCursor property real sx: 0 property real sy: 0 |
