st/adjustment: Add ::actor property

Will be used by transitions to set the timeline actor.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1299
This commit is contained in:
Jonas Ådahl
2020-06-16 22:03:07 +02:00
committed by Georges Basile Stavracas Neto
parent 4aabcd9e7d
commit 5ea54426b9
5 changed files with 65 additions and 4 deletions

View File

@ -423,6 +423,7 @@ class ControlsManager extends St.Widget {
let activeWorkspaceIndex = workspaceManager.get_active_workspace_index();
this._workspaceAdjustment = new St.Adjustment({
actor: this,
value: activeWorkspaceIndex,
lower: 0,
page_increment: 1,