Skip to content

Commit 1d7eadb

Browse files
committed
Remove some logs
1 parent 22cc48d commit 1d7eadb

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

editor/utils/dragdrop.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,12 @@ define([
114114

115115
// Enter drop area
116116
enterDropArea: function(area) {
117-
//console.log("enter drop", this.drop.length, area.$el.get(0));
118117
this.drop.push(area);
119118
},
120119

121120
// Exit drop area
122121
exitDropArea: function() {
123122
this.drop.pop();
124-
//console.log("exit drop", this.drop.length);
125123
},
126124

127125
// Enable drag and drop in a object
@@ -207,8 +205,6 @@ define([
207205
cx = _drop.$el.offset().left;
208206
cy = _drop.$el.offset().top;
209207

210-
console.log("constrain", cx, cy, cw, ch)
211-
212208
if (Math.abs(ey - cy) < 50) ey = cy;
213209
if (Math.abs((ey + eh) - (cy+ch)) < 50) ey = cy + ch - eh;
214210
if (Math.abs(ex - cx) < 50) ex = cx;

0 commit comments

Comments
 (0)