Skip to content

Commit 7b59e0a

Browse files
committed
DLP.js modified
1 parent e5a75d2 commit 7b59e0a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

DLP.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export class DLP extends Emit
8888
this._Emit('enter', _);
8989
return this;
9090

91+
/*
9192
if (this.tmp && _ === this.tmp) return;
9293
if (this.tmp) this.leave();
9394
const d = this.tmp = this.ev(E.TEXTAREA.style({position:'absolute',display:'block',opacity:0.5,background:'#888',zIndex:9999,border:'1px solid red',top:0,bottom:0,left:0,right:0}).attr({placeholder:'DROP HERE'}));
@@ -101,12 +102,13 @@ export class DLP extends Emit
101102
// console.log('Dx', r, d.$xywh);
102103
103104
return this;
105+
*/
104106
}
105107
dragleave(_)
106108
{
107109
this._Emit('leave', _);
108110
return this;
109-
111+
/*
110112
let v;
111113
if (this.tmp)
112114
{
@@ -119,6 +121,7 @@ export class DLP extends Emit
119121
return v;
120122
121123
return this;
124+
*/
122125
}
123126

124127
// We must process this immediately, as all information vanishes as soon as the event callback returns.

0 commit comments

Comments
 (0)