workspaceAnimation: Notify 'progress' property properly
The getter of the MonitorGroup's 'progress' property sets some values based on it, but doesn't notify the property change. Fix that by calling this.notify('progress') when the setter is called. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2881>
This commit is contained in:
parent
13f4c781d5
commit
f1db3498eb
@ -214,6 +214,8 @@ const MonitorGroup = GObject.registerClass({
|
||||
this._container.x = Math.round(p * this.baseDistance);
|
||||
else
|
||||
this._container.x = -Math.round(p * this.baseDistance);
|
||||
|
||||
this.notify('progress');
|
||||
}
|
||||
|
||||
get index() {
|
||||
|
Loading…
Reference in New Issue
Block a user