Skip to content

Commit df97e41

Browse files
committed
Fix title bar ordering for RTL
1 parent f22c0fd commit df97e41

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/hub/hub.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ let dragData: any = null;
119119
// WINDOW UTILITIES
120120

121121
function setWindowTitle(name: string, status?: string) {
122-
let title = htmlEncode(name) + (status ? " (" + htmlEncode(status) + ")" : "") + " — AdvantageScope";
122+
let title =
123+
"\u2066" + htmlEncode(name) + "\u2069" + (status ? " (" + htmlEncode(status) + ")" : "") + " — AdvantageScope";
123124
document.getElementsByTagName("title")[0].innerHTML = title;
124125
document.getElementsByClassName("title-bar-text")[0].innerHTML = title;
125126
}

0 commit comments

Comments
 (0)