Skip to content

Commit

Permalink
Fix word highlight (#484)
Browse files Browse the repository at this point in the history
Quick fix #481
  • Loading branch information
NQNStudios authored Nov 23, 2024
1 parent e156c32 commit 21afd44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/boe.newgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 21afd44

Please sign in to comment.