Context menu was not hidden after a click in the drive

pull/1/head
yflory 2017-06-19 12:08:53 +02:00
parent 377a90961b
commit 008c417111
1 changed files with 2 additions and 1 deletions

View File

@ -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);