mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
fix: edgeless note mask does not restore after dnd dropping (#12495)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user