From a3fc2fd0debb2c666bea60c3329b0295daa0dde5 Mon Sep 17 00:00:00 2001 From: Philipp Unger Date: Mon, 4 Sep 2023 22:17:43 +0200 Subject: [PATCH] use Clutter.ActorAlign instead of St.Align --- taskbar.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/taskbar.js b/taskbar.js index 9dcf044..1e0b48a 100644 --- a/taskbar.js +++ b/taskbar.js @@ -284,8 +284,10 @@ export var Taskbar = class { this.previewMenu.enable(); let rtl = Clutter.get_default_text_direction() == Clutter.TextDirection.RTL; - this.actor = new St.Bin({ child: this._container, - y_align: St.Align.START, x_align:rtl?St.Align.END:St.Align.START + this.actor = new St.Bin({ + child: this._container, + y_align: Clutter.ActorAlign.START, + x_align: rtl ? Clutter.ActorAlign.END : Clutter.ActorAlign.START }); let adjustment = this._scrollView[orientation[0] + 'scroll'].adjustment;