Edit read.md

This commit is contained in:
2026-02-16 13:23:06 +01:00
parent 7e5b5ffed5
commit 7784cfd99b
3 changed files with 56 additions and 7 deletions
+2
View File
@@ -8,6 +8,7 @@ Singleton {
id: root
property alias gifFolder: adapter.gifFolder
property alias maxScaling: adapter.maxScaling
property string configDir: Quickshell.env("HOME") + "/.config/I-DeskPet"
property string configPath: configDir + "/config.json"
@@ -48,6 +49,7 @@ Singleton {
id: adapter
property string gifFolder: Quickshell.shellDir + "/Gifs"
property real maxScaling: 1
}
}
}
+1 -1
View File
@@ -38,7 +38,7 @@ Repeater {
Mouse {
id: mouse
onWheel: (wheel)=> {
gifSaved.scaling = Math.max( 1, ( gifSaved.scaling + 0.1 * ( wheel.angleDelta.y / 120 ) ) )
gifSaved.scaling = Math.max( ConfigLoader.maxScaling, ( gifSaved.scaling + 0.1 * ( wheel.angleDelta.y / 120 ) ) )
}
onDoubleClicked: gifSaved.scaling = 1