fix: edgeless note mask does not restore after dnd dropping (#12495)

This commit is contained in:
doouding
2025-05-26 05:03:10 +00:00
parent 6518c5904e
commit 81be5818cc
2 changed files with 15 additions and 2 deletions

View File

@@ -1569,6 +1569,11 @@ export class DragEventWatcher {
view.hideMask = false;
}
},
onDrop: () => {
if (isNote && 'hideMask' in view) {
view.hideMask = false;
}
},
setDropData: () => {
return {
modelId: view.model.id,