Ver código fonte

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

Vanessa 10 meses atrás
pai
commit
8809df839b
1 arquivos alterados com 2 adições e 0 exclusões
  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 {isTouchDevice} from "../../util/functions";
 import {App} from "../../index";
 import {App} from "../../index";
 import {refreshFileTree} from "../../dialog/processSystem";
 import {refreshFileTree} from "../../dialog/processSystem";
+import {hideTooltip} from "../../dialog/tooltip";
 
 
 export class Files extends Model {
 export class Files extends Model {
     public element: HTMLElement;
     public element: HTMLElement;
@@ -382,6 +383,7 @@ export class Files extends Model {
                 return;
                 return;
             }
             }
             window.getSelection().removeAllRanges();
             window.getSelection().removeAllRanges();
+            hideTooltip();
             const liElement = hasClosestByTag(event.target, "LI");
             const liElement = hasClosestByTag(event.target, "LI");
             if (liElement) {
             if (liElement) {
                 let selectElements: Element[] = Array.from(this.element.querySelectorAll(".b3-list-item--focus"));
                 let selectElements: Element[] = Array.from(this.element.querySelectorAll(".b3-list-item--focus"));