From 21afd4466d8323d13a543cd86891086550732f6b Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sat, 23 Nov 2024 13:08:01 -0600 Subject: [PATCH] Fix word highlight (#484) Quick fix #481 --- src/game/boe.newgraph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/boe.newgraph.cpp b/src/game/boe.newgraph.cpp index 33a2e0725..a8afd53c9 100644 --- a/src/game/boe.newgraph.cpp +++ b/src/game/boe.newgraph.cpp @@ -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;