mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
search: fix space confirming choice
This commit is contained in:
@@ -183,13 +183,6 @@ Item { // Wrapper
|
||||
placeholderTextColor: Appearance.m3colors.m3outline
|
||||
implicitWidth: root.searchingText == "" ? Appearance.sizes.searchWidthCollapsed : Appearance.sizes.searchWidth
|
||||
|
||||
KeyNavigation.down: {
|
||||
if (appResults.count > 1) {
|
||||
appResults.focus = true;
|
||||
appResults.currentIndex = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Behavior on implicitWidth {
|
||||
NumberAnimation {
|
||||
duration: Appearance.animation.elementDecelFast.duration
|
||||
@@ -244,6 +237,10 @@ Item { // Wrapper
|
||||
spacing: 0
|
||||
KeyNavigation.up: searchBar
|
||||
|
||||
onFocusChanged: {
|
||||
if(focus) appResults.currentIndex = 1;
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: root
|
||||
function onSearchingTextChanged() {
|
||||
|
||||
Reference in New Issue
Block a user