Skip to content

Commit

Permalink
Don't remove tooltip part when displaying text with message()
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszkax86 committed Apr 6, 2024
1 parent 0f9bb0a commit f949a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colobot-base/src/ui/displaytext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ void CDisplayText::DisplayText(const char *text, glm::vec3 goal, float height,

ppos = pos;
ppos.y -= hLine/2.0f;
label = pw->CreateLabel(ppos, dim, -1, EventType(EVENT_DT_LABEL0+nLine), text);
label = pw->CreateLabel(ppos, dim, -1, EventType(EVENT_DT_LABEL0+nLine), text, false);
if ( label != nullptr )
{
label->SetFontSize(FONTSIZE);
Expand Down

0 comments on commit f949a4b

Please sign in to comment.