folderIcon: Properly reject drop
When a drop is rejected, we are mistakenly returning true instead of false. Return false when the rejecting the drop. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/671
This commit is contained in:
parent
f76f30fd6a
commit
4c89eac9a4
@ -1520,7 +1520,7 @@ var FolderIcon = class FolderIcon {
|
||||
|
||||
acceptDrop(source) {
|
||||
if (!this._canAccept(source))
|
||||
return true;
|
||||
return false;
|
||||
|
||||
let app = source.app;
|
||||
let folderApps = this._folder.get_strv('apps');
|
||||
|
Loading…
Reference in New Issue
Block a user