mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
use Clutter.ActorAlign instead of St.Align
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user