mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-17 20:48:06 +01:00
This commit is contained in:
parent
63a45bccfc
commit
d85ede2b48
2 changed files with 2 additions and 2 deletions
|
|
@ -840,6 +840,7 @@ export class Toolbar {
|
|||
if (hasClosestByClassName(event.target as HTMLElement, "block__icon")) {
|
||||
return;
|
||||
}
|
||||
event.stopPropagation();
|
||||
const documentSelf = document;
|
||||
this.subElement.style.userSelect = "none";
|
||||
const x = event.clientX - parseInt(this.subElement.style.left);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue