This commit is contained in:
Jun Pataleta
2024-11-18 14:36:58 +08:00
3 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -347,8 +347,8 @@ export default class extends BaseComponent {
*/
_dragOver(event) {
const dropdata = this._processEvent(event);
event.dataTransfer.dropEffect = (event.altKey) ? 'copy' : 'move';
if (dropdata && !this.dropzonevisible) {
event.dataTransfer.dropEffect = (event.altKey) ? 'copy' : 'move';
this.dropzonevisible = true;
this.element.classList.add(this.classes.DRAGOVER);
this._callParentMethod('showDropZone', dropdata, event);