mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
windowManager: Use Clutter default text direction
This code was copied from workspacesView which used the widget's text direction, but it is no longer in a widget Fixes #3780 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1724>
This commit is contained in:
parent
175175fac8
commit
48ae38c52d
1 changed files with 1 additions and 1 deletions
|
|
@ -1875,7 +1875,7 @@ var WindowManager = class {
|
|||
|
||||
const workspaceManager = global.workspace_manager;
|
||||
const vertical = workspaceManager.layout_rows === -1;
|
||||
const rtl = this.text_direction === Clutter.TextDirection.RTL;
|
||||
const rtl = Clutter.get_default_text_direction() === Clutter.TextDirection.RTL;
|
||||
const activeWs = workspaceManager.get_active_workspace();
|
||||
let ws;
|
||||
switch (direction) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue