mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-22 20:07:01 +00:00
PopStyleVar() fix. OOPS
This commit is contained in:
parent
5f8175abaa
commit
2322318cac
@ -2633,6 +2633,7 @@ void ImGui::PopStyleVar(int count)
|
|||||||
else if (ImVec2* pvar_v = GetStyleVarVec2Addr(backup.Var))
|
else if (ImVec2* pvar_v = GetStyleVarVec2Addr(backup.Var))
|
||||||
*pvar_v = backup.PreviousValue;
|
*pvar_v = backup.PreviousValue;
|
||||||
g.StyleModifiers.pop_back();
|
g.StyleModifiers.pop_back();
|
||||||
|
count--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user