[dnd] revert the change to only allow dropping on reactive actors
Workspace.actor is non-reactive, and there's probably some good reason for this. So just have the add workspace button check its own reactivity.
This commit is contained in:
@ -511,6 +511,6 @@ AddWorkspaceButton.prototype = {
|
||||
|
||||
// Draggable target interface
|
||||
acceptDrop: function(source, actor, x, y, time) {
|
||||
return this._acceptDropCallback(source, actor, x, y, time);
|
||||
return this.reactive && this._acceptDropCallback(source, actor, x, y, time);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user