mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Removed outdated Japanese custom line spacing
This commit is contained in:
parent
a6c00bfe8b
commit
18ba138207
@ -55,7 +55,6 @@ export default class PokedexInfoOverlay extends Phaser.GameObjects.Container imp
|
|||||||
this.desc = addTextObject(BORDER, BORDER - 2, "", TextStyle.BATTLE_INFO, {
|
this.desc = addTextObject(BORDER, BORDER - 2, "", TextStyle.BATTLE_INFO, {
|
||||||
wordWrap: { width: (this.width - (BORDER - 2) * 2) * GLOBAL_SCALE },
|
wordWrap: { width: (this.width - (BORDER - 2) * 2) * GLOBAL_SCALE },
|
||||||
});
|
});
|
||||||
this.desc.setLineSpacing(i18next.resolvedLanguage === "ja" ? 25 : 5);
|
|
||||||
|
|
||||||
// limit the text rendering, required for scrolling later on
|
// limit the text rendering, required for scrolling later on
|
||||||
this.maskPointOriginX = options?.x || 0;
|
this.maskPointOriginX = options?.x || 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user