Context menu was not hidden after a click in the drive

pull/1/head
yflory 8 years ago
parent 377a90961b
commit 008c417111

@ -328,6 +328,7 @@ define([
width: '0px',
height: '0px'
});
module.hideMenu(e);
if (sel.move) { return; }
sel.move = function (ev) {
var rectMove = ev.currentTarget.getBoundingClientRect(),
@ -2437,7 +2438,7 @@ define([
e.preventDefault();
});
$appContainer.on('mouseup', function (e) {
if (sel.down) { return; }
//if (sel.down) { return; }
if (e.which !== 1) { return ; }
module.hideMenu(e);
//removeSelected(e);

Loading…
Cancel
Save