mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-80459 allow drag to finish before detaching drag helper
This commit is contained in:
@@ -75,6 +75,10 @@ public abstract class MouseDragHelper implements MouseListener, MouseMotionListe
|
||||
}
|
||||
|
||||
private void attach() {
|
||||
if (myDetachPostponed) {
|
||||
myDetachPostponed = false;
|
||||
return;
|
||||
}
|
||||
myGlassPane = IdeGlassPaneUtil.find(myDragComponent);
|
||||
myGlassPane.addMousePreprocessor(this, myParentDisposable);
|
||||
myGlassPane.addMouseMotionPreprocessor(this, myParentDisposable);
|
||||
|
||||
Reference in New Issue
Block a user