mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #1447 from keepassxreboot/fix/content_dragging
Fix interfering mouse events when dragging content
This commit is contained in:
commit
a1678cd358
1 changed files with 0 additions and 4 deletions
|
|
@ -274,8 +274,6 @@ document.addEventListener('mousemove', function(e) {
|
|||
return;
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
|
||||
if (kpxcPasswordDialog.selected === kpxcPasswordDialog.titleBar) {
|
||||
const xPos = e.clientX - kpxcPasswordDialog.diffX;
|
||||
const yPos = e.clientY - kpxcPasswordDialog.diffY;
|
||||
|
|
@ -302,7 +300,6 @@ document.addEventListener('mousedown', function(e) {
|
|||
return;
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
kpxcUI.mouseDown = true;
|
||||
});
|
||||
|
||||
|
|
@ -311,7 +308,6 @@ document.addEventListener('mouseup', function(e) {
|
|||
return;
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
kpxcPasswordDialog.selected = null;
|
||||
kpxcDefine.selected = null;
|
||||
kpxcUI.mouseDown = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue