Fix word highlight (#484)

Quick fix #481
This commit is contained in:
2024-11-23 13:08:01 -06:00
committed by GitHub
parent e156c32c7d
commit 21afd4466d

View File

@@ -835,6 +835,7 @@ void click_talk_rect(word_rect_t word) {
mainPtr.setActive();
rect_draw_some_item(talk_gworld.getTexture(),talkRect,mainPtr,talk_area_rect);
wordRect.offset(talk_area_rect.topLeft());
wordRect.width() += 10; // Arbitrary extra space fixes #481 and shouldn't cause any problems
TextStyle style;
style.font = FONT_DUNGEON;
style.pointSize = 18;