Fix a bug

This commit is contained in:
3wc 2024-02-23 11:58:53 -03:00
parent 216f1ecd4c
commit 2a63c748f1
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
- [x] Console rendering issues
- [ ] DOM tree rendering issues
- [ ] Inconsistent text formatting
- [x] Inconsistent text formatting
### Dialogue

View File

@ -211,7 +211,7 @@ class DialogueBoxComponent extends h2d.Flow implements h2d.domkit.Object {
Game.current.globalEventBus.publishEvent(new NextLine());
else if (textPos < internalText.length) {
textPos = internalText.length;
displayedText = internalText;
displayedText = applyTextAttributes(internalText);
updateText();
};
}