mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-22 07:19:28 +02:00
Update menu-ui-handler
This commit is contained in:
parent
89936c6f13
commit
eee0b6a2af
@ -228,7 +228,7 @@ export default abstract class MessageUiHandler extends AwaitableUiHandler {
|
||||
textObject.setFontSize(fontSize);
|
||||
|
||||
const textWrapped = () => textObject.getWrappedText(text);
|
||||
const textSize = () => Phaser.GameObjects.GetTextSize(textObject,textObject.style.getTextMetrics(),textWrapped());
|
||||
const textSize = () => Phaser.GameObjects.GetTextSize(textObject, textObject.style.getTextMetrics(), textWrapped());
|
||||
const balanceText = typeof opts.ignoreTextBalance === "string" ? opts.ignoreTextBalance === "all" : (opts.ignoreTextBalance && opts.ignoreTextBalance[0] && opts.ignoreTextBalance.some(localKey=> localKey === currentLanguage));
|
||||
|
||||
// Text Balance
|
||||
|
Loading…
Reference in New Issue
Block a user