mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
force preview shut when dragging file over icon
This commit is contained in:
@@ -718,6 +718,14 @@ const taskbarAppIcon = new Lang.Class({
|
||||
this._numberOverlayBin.show();
|
||||
else
|
||||
this._numberOverlayBin.hide();
|
||||
},
|
||||
|
||||
handleDragOver: function(source, actor, x, y, time) {
|
||||
if (source == Main.xdndHandler) {
|
||||
this.windowPreview.close();
|
||||
}
|
||||
|
||||
return DND.DragMotionResult.CONTINUE;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user