소스 검색

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

Clément Espeute 2 달 전
부모
커밋
9e7662ad78
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)) {