summaryrefslogtreecommitdiff
path: root/popups/launcher/components/Spell.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-08-22 17:11:29 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-08-22 17:14:10 +0800
commitaf52ea407d10c86a2e5b5049cddb6abdee3952f8 (patch)
tree36189e51a9d4f6075da87089c50f77c7de3e9846 /popups/launcher/components/Spell.qml
parent78ad386209aaf20a7e122f11791e54fdcddb958b (diff)
fix: selectedPriority not respecting mouse
Diffstat (limited to 'popups/launcher/components/Spell.qml')
-rw-r--r--popups/launcher/components/Spell.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/popups/launcher/components/Spell.qml b/popups/launcher/components/Spell.qml
index c627b9e..8dece7e 100644
--- a/popups/launcher/components/Spell.qml
+++ b/popups/launcher/components/Spell.qml
@@ -118,6 +118,7 @@ IComponent {
if (!loader.view || selectedIndex < 0 || selectedIndex >= loader.view.count || !root.visible)
return;
+ state.selectedPriority = root.getSelfPriority();
state.selected = loader.view.itemAtIndex(selectedIndex);
});
}