This commit is contained in:
Vanessa 2022-09-26 21:36:15 +08:00
parent 63a45bccfc
commit d85ede2b48
2 changed files with 2 additions and 2 deletions

View file

@ -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);