mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 00:40:05 +00:00
Always resize ImGui windows when rendering placefile text to avoid clipping
This commit is contained in:
parent
6dedce5089
commit
c6801722a1
1 changed files with 2 additions and 1 deletions
|
|
@ -104,7 +104,8 @@ void PlacefileLayer::Impl::RenderText(
|
||||||
ImVec2 {x, y}, ImGuiCond_Always, ImVec2 {0.5f, 0.5f});
|
ImVec2 {x, y}, ImGuiCond_Always, ImVec2 {0.5f, 0.5f});
|
||||||
ImGui::Begin(windowName.c_str(),
|
ImGui::Begin(windowName.c_str(),
|
||||||
nullptr,
|
nullptr,
|
||||||
ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoNav |
|
ImGuiWindowFlags_AlwaysAutoResize |
|
||||||
|
ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoNav |
|
||||||
ImGuiWindowFlags_NoBackground);
|
ImGuiWindowFlags_NoBackground);
|
||||||
|
|
||||||
// Render text
|
// Render text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue