mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue