small tweaks for nativednd

This commit is contained in:
nightwing 2013-09-20 17:12:43 +04:00
commit f1b74a8916
2 changed files with 5 additions and 4 deletions

View file

@ -28,7 +28,7 @@
}
.ace_dragging, .ace_dragging * {
cursor: default !important;
cursor: move !important;
}
.ace_dragging .ace_scroller:before{
@ -38,9 +38,12 @@
right: 0;
bottom: 0;
content: '';
background: rgba(0, 0, 0, 0.01);
background: rgba(250, 250, 250, 0.01);
z-index: 1000;
}
.ace_dragging.ace_dark .ace_scroller:before{
background: rgba(0, 0, 0, 0.01);
}
.ace_selecting, .ace_selecting * {
cursor: text !important;

View file

@ -107,8 +107,6 @@ exports.capture = function(el, eventHandler, releaseCaptureHandler) {
exports.removeListener(document, "mousemove", eventHandler, true);
exports.removeListener(document, "mouseup", onMouseUp, true);
exports.removeListener(document, "dragstart", onMouseUp, true);
exports.stopPropagation(e);
}
exports.addListener(document, "mousemove", eventHandler, true);