summaryrefslogtreecommitdiff
path: root/popups/launcher/components/DuckDuckGo.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-08-29 22:45:44 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-08-29 22:45:44 +0800
commitd0c4b28c7319cb728d1c363edeaa42128f01ce88 (patch)
treef744b3cd424e9197729e2db3fc221cf1672aa404 /popups/launcher/components/DuckDuckGo.qml
parentfb72a179703a893e1b1c2ca4c2d0e82e119575cc (diff)
fix: processing priority
Diffstat (limited to 'popups/launcher/components/DuckDuckGo.qml')
-rw-r--r--popups/launcher/components/DuckDuckGo.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/popups/launcher/components/DuckDuckGo.qml b/popups/launcher/components/DuckDuckGo.qml
index 928ca05..026b240 100644
--- a/popups/launcher/components/DuckDuckGo.qml
+++ b/popups/launcher/components/DuckDuckGo.qml
@@ -9,6 +9,8 @@ import qs.config
import core
IComponent {
+ id: root
+
property int cursorPosition: SelectionState.cursorPosition
property bool expand: false
@@ -72,7 +74,7 @@ IComponent {
id: image
property real maxWidth: status === Image.Ready ? implicitWidth : 0
anchors.fill: parent
- scale: isSelectedPriority() ? 1.01 : 0.99
+ scale: root.isSelectedPriority() ? 1.01 : 0.99
fillMode: Image.PreserveAspectCrop
@@ -117,7 +119,7 @@ IComponent {
text: answer
font {
pixelSize: Launcher.widgetFontSize * 1.1
- bold: isSelectedPriority()
+ bold: root.isSelectedPriority()
}
}