OSD messages display horizontally
OSD messages with an icon and text will display the text to the right of the icon instead of below it.
This commit is contained in:
parent
56fd9c177c
commit
1b00b4e3d8
|
@ -111,6 +111,7 @@ static float DrawMessage(int index, Message& msg, const ImVec2& position, int ti
|
|||
{
|
||||
ImGui::Image(msg.texture.get(), ImVec2(static_cast<float>(msg.icon->width),
|
||||
static_cast<float>(msg.icon->height)));
|
||||
ImGui::SameLine();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue