summaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorPFiS <pfis1737@gmail.com>2025-08-02 14:19:59 +0800
committerGitHub <noreply@github.com>2025-08-02 16:19:59 +1000
commita89a401087455c520c84f346e61055b668b50654 (patch)
treec1fdb44e4f4b524950a9957aed86018d4b7c1d25 /widgets
parentbar: add bluetooth connected icon state (#311) (diff)
downloadcaelestia-shell-a89a401087455c520c84f346e61055b668b50654.tar.gz
caelestia-shell-a89a401087455c520c84f346e61055b668b50654.tar.bz2
caelestia-shell-a89a401087455c520c84f346e61055b668b50654.zip
osd: animate scrolling (#316)
* refactor: make the animation smooth when scrolling the mouse wheel * fix: can't drag * format * fix cursor --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Diffstat (limited to 'widgets')
-rw-r--r--widgets/VerticalSlider.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/widgets/VerticalSlider.qml b/widgets/VerticalSlider.qml
index 2c064c4..21bdc7a 100644
--- a/widgets/VerticalSlider.qml
+++ b/widgets/VerticalSlider.qml
@@ -11,8 +11,6 @@ Slider {
required property string icon
property real oldValue
- wheelEnabled: true
-
orientation: Qt.Vertical
background: StyledRect {
@@ -59,7 +57,7 @@ Slider {
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
- onPressed: event => event.accepted = false
+ acceptedButtons: Qt.NoButton
}
MaterialIcon {