dash: Restore icon's expected DND behavior
Commit ff3d32dd18
added a custom DashIcon subclass that disables
all DND methods from ancestors, including canceling the context
menu timeout and emitting the overview's item-drag-begin signal.
All we want is opting out of the parent's scale-and-fade behavior,
so override those methods instead.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3209
This commit is contained in:
parent
daa3ddac94
commit
432c2863ab
@ -31,11 +31,11 @@ class DashIcon extends AppDisplay.AppIcon {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disable all DnD methods
|
// Disable scale-n-fade methods used during DND by parent
|
||||||
_onDragBegin() {
|
scaleAndFade() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_onDragEnd() {
|
undoScaleAndFade() {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleDragOver() {
|
handleDragOver() {
|
||||||
|
Loading…
Reference in New Issue
Block a user