summaryrefslogtreecommitdiff
path: root/popups/launcher/components/IComponent.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/IComponent.qml
parent78ad386209aaf20a7e122f11791e54fdcddb958b (diff)
fix: selectedPriority not respecting mouse
Diffstat (limited to 'popups/launcher/components/IComponent.qml')
-rw-r--r--popups/launcher/components/IComponent.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/popups/launcher/components/IComponent.qml b/popups/launcher/components/IComponent.qml
index 7450ffd..719ae94 100644
--- a/popups/launcher/components/IComponent.qml
+++ b/popups/launcher/components/IComponent.qml
@@ -60,6 +60,10 @@ IRect {
close();
}
+ function getSelfPriority() {
+ return state.priorities.indexOf(root);
+ }
+
// this doesn't change launcher size but only hides the actual content but the outside still think the content is there
visible: active
opacity: valid ? 1 : 0