diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-08-29 22:45:44 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-08-29 22:45:44 +0800 |
| commit | d0c4b28c7319cb728d1c363edeaa42128f01ce88 (patch) | |
| tree | f744b3cd424e9197729e2db3fc221cf1672aa404 /popups/launcher/components/DuckDuckGo.qml | |
| parent | fb72a179703a893e1b1c2ca4c2d0e82e119575cc (diff) | |
fix: processing priority
Diffstat (limited to 'popups/launcher/components/DuckDuckGo.qml')
| -rw-r--r-- | popups/launcher/components/DuckDuckGo.qml | 6 |
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() } } |
