mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-28 01:39:29 +08:00
impr(ligatures): always enable in Zen and Custom modes for always correct script rendering (@byseif21) (#6694)
### Description fixes broken ligature rendering in zen mode by always enabling ligatures, ensuring that scripts like Arabic etc .. display correctly and words connect as expected in any scenario or direction!.
This commit is contained in:
parent
de2541727a
commit
06ca8c2385
1 changed files with 1 additions and 1 deletions
|
|
@ -1186,7 +1186,7 @@ export function setRightToLeft(isEnabled: boolean): void {
|
|||
}
|
||||
|
||||
export function setLigatures(isEnabled: boolean): void {
|
||||
if (isEnabled) {
|
||||
if (isEnabled || Config.mode === "custom" || Config.mode === "zen") {
|
||||
$("#words").addClass("withLigatures");
|
||||
$("#resultWordsHistory .words").addClass("withLigatures");
|
||||
$("#resultReplay .words").addClass("withLigatures");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue