Fix a bug
This commit is contained in:
parent
216f1ecd4c
commit
2a63c748f1
2
TODO.md
2
TODO.md
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
- [x] Console rendering issues
|
- [x] Console rendering issues
|
||||||
- [ ] DOM tree rendering issues
|
- [ ] DOM tree rendering issues
|
||||||
- [ ] Inconsistent text formatting
|
- [x] Inconsistent text formatting
|
||||||
|
|
||||||
### Dialogue
|
### Dialogue
|
||||||
|
|
||||||
|
@ -211,7 +211,7 @@ class DialogueBoxComponent extends h2d.Flow implements h2d.domkit.Object {
|
|||||||
Game.current.globalEventBus.publishEvent(new NextLine());
|
Game.current.globalEventBus.publishEvent(new NextLine());
|
||||||
else if (textPos < internalText.length) {
|
else if (textPos < internalText.length) {
|
||||||
textPos = internalText.length;
|
textPos = internalText.length;
|
||||||
displayedText = internalText;
|
displayedText = applyTextAttributes(internalText);
|
||||||
updateText();
|
updateText();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user