Fix tooltip data needlessly leaking into .ini file
This commit is contained in:
parent
a8d3b045b7
commit
f33eb89018
@ -1783,7 +1783,7 @@ bool Begin(const char* name, bool* open, ImVec2 size, float fill_alpha, ImGuiWin
|
|||||||
ImGuiWindow* window = FindWindow(name);
|
ImGuiWindow* window = FindWindow(name);
|
||||||
if (!window)
|
if (!window)
|
||||||
{
|
{
|
||||||
if (flags & ImGuiWindowFlags_ChildWindow)
|
if (flags & (ImGuiWindowFlags_ChildWindow | ImGuiWindowFlags_Tooltip))
|
||||||
{
|
{
|
||||||
window = new ImGuiWindow(name, ImVec2(0,0), size);
|
window = new ImGuiWindow(name, ImVec2(0,0), size);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user