mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 02:04:20 +01:00
This commit is contained in:
parent
180dce0a78
commit
2a082ad59e
2 changed files with 17 additions and 4 deletions
|
|
@ -92,7 +92,7 @@ export const openMenuPanel = (options: {
|
|||
bindEditEvent({protyle: options.protyle, data, menuElement});
|
||||
}
|
||||
}
|
||||
avPanelElement.addEventListener("dragstart", (event) => {
|
||||
avPanelElement.addEventListener("dragstart", (event: DragEvent) => {
|
||||
window.siyuan.dragElement = event.target as HTMLElement;
|
||||
window.siyuan.dragElement.style.opacity = ".1";
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue