diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-08-29 16:14:11 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-08-29 16:14:11 +0800 |
| commit | f1ac2542a34455aaaacfb5ab8c9c42d949515125 (patch) | |
| tree | 82116e818881a85187a9bde15eea0569adfa3779 /popups | |
| parent | 5886524056f1b431ad453bd919aac0c7785b15e0 (diff) | |
perf: replace onPositionChanged -> onEntered
Diffstat (limited to 'popups')
| -rw-r--r-- | popups/launcher/components/App.qml | 2 | ||||
| -rw-r--r-- | popups/launcher/components/Clip.qml | 2 | ||||
| -rw-r--r-- | popups/launcher/components/Emoji.qml | 2 | ||||
| -rw-r--r-- | popups/launcher/components/Spell.qml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/popups/launcher/components/App.qml b/popups/launcher/components/App.qml index e9dbcfd..4ac1fbe 100644 --- a/popups/launcher/components/App.qml +++ b/popups/launcher/components/App.qml @@ -178,7 +178,7 @@ IComponent { MouseArea { anchors.fill: parent hoverEnabled: true - onPositionChanged: { + onEntered: { root.selectedIndex = index; } onPressed: { diff --git a/popups/launcher/components/Clip.qml b/popups/launcher/components/Clip.qml index 576fabe..a842a73 100644 --- a/popups/launcher/components/Clip.qml +++ b/popups/launcher/components/Clip.qml @@ -175,7 +175,7 @@ IComponent { MouseArea { anchors.fill: parent hoverEnabled: true - onPositionChanged: { + onEntered: { root.selectedIndex = index; } onPressed: { diff --git a/popups/launcher/components/Emoji.qml b/popups/launcher/components/Emoji.qml index 97df7eb..175133f 100644 --- a/popups/launcher/components/Emoji.qml +++ b/popups/launcher/components/Emoji.qml @@ -177,7 +177,7 @@ IComponent { MouseArea { anchors.fill: parent hoverEnabled: true - onPositionChanged: root.selectedIndex = index + onEntered: root.selectedIndex = index onPressed: root._exec() } } diff --git a/popups/launcher/components/Spell.qml b/popups/launcher/components/Spell.qml index 31184ef..37633bf 100644 --- a/popups/launcher/components/Spell.qml +++ b/popups/launcher/components/Spell.qml @@ -183,7 +183,7 @@ IComponent { MouseArea { anchors.fill: parent hoverEnabled: true - onPositionChanged: { + onEntered: { root.selectedIndex = index; } onPressed: { |
