Преглед на файлове

:art: https://github.com/siyuan-note/siyuan/issues/11587

Vanessa преди 10 месеца
родител
ревизия
8809df839b
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      app/src/layout/dock/Files.ts

+ 2 - 0
app/src/layout/dock/Files.ts

@@ -20,6 +20,7 @@ import {hasClosestByAttribute, hasClosestByTag, hasTopClosestByTag} from "../../
 import {isTouchDevice} from "../../util/functions";
 import {App} from "../../index";
 import {refreshFileTree} from "../../dialog/processSystem";
+import {hideTooltip} from "../../dialog/tooltip";
 
 export class Files extends Model {
     public element: HTMLElement;
@@ -382,6 +383,7 @@ export class Files extends Model {
                 return;
             }
             window.getSelection().removeAllRanges();
+            hideTooltip();
             const liElement = hasClosestByTag(event.target, "LI");
             if (liElement) {
                 let selectElements: Element[] = Array.from(this.element.querySelectorAll(".b3-list-item--focus"));