Przeglądaj źródła

[filebrowser] Fix left/right in search bar not working

Clément Espeute 2 miesięcy temu
rodzic
commit
9e7662ad78
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      hide/comp/FancyTree.hx

+ 1 - 1
hide/comp/FancyTree.hx

@@ -481,7 +481,7 @@ class FancyTree<TreeItem> extends hide.comp.Component {
 			return;
 		}
 
-		if (currentItem == null)
+		if (currentItem == null || searchBar.hasFocus())
 			return;
 
 		if (e.key == "ArrowRight" && hasChildren(currentItem.item)) {