mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 3 additions and 3 deletions
|
|
@ -31,11 +31,11 @@ class DashIcon extends AppDisplay.AppIcon {
|
|||
});
|
||||
}
|
||||
|
||||
// Disable all DnD methods
|
||||
_onDragBegin() {
|
||||
// Disable scale-n-fade methods used during DND by parent
|
||||
scaleAndFade() {
|
||||
}
|
||||
|
||||
_onDragEnd() {
|
||||
undoScaleAndFade() {
|
||||
}
|
||||
|
||||
handleDragOver() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue