mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
Minor bits
This commit is contained in:
@ -4916,8 +4916,7 @@ void ImGui::SetWindowFocus(const char* name)
|
||||
{
|
||||
if (name)
|
||||
{
|
||||
ImGuiWindow* window = FindWindowByName(name);
|
||||
if (window)
|
||||
if (ImGuiWindow* window = FindWindowByName(name))
|
||||
FocusWindow(window);
|
||||
}
|
||||
else
|
||||
@ -9470,7 +9469,7 @@ void ImGui::ValueColor(const char* prefix, const ImVec4& v)
|
||||
ColorButton(v, true);
|
||||
}
|
||||
|
||||
void ImGui::ValueColor(const char* prefix, unsigned int v)
|
||||
void ImGui::ValueColor(const char* prefix, ImU32 v)
|
||||
{
|
||||
Text("%s: %08X", prefix, v);
|
||||
SameLine();
|
||||
|
Reference in New Issue
Block a user