mirror of
https://github.com/ocornut/imgui.git
synced 2024-10-16 16:25:15 -05:00
commit
3141df1459
1 changed files with 1 additions and 1 deletions
|
@ -9717,7 +9717,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag
|
||||||
PushItemWidth(w_items_all);
|
PushItemWidth(w_items_all);
|
||||||
if (InputText("##Text", buf, IM_ARRAYSIZE(buf), ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsUppercase))
|
if (InputText("##Text", buf, IM_ARRAYSIZE(buf), ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsUppercase))
|
||||||
{
|
{
|
||||||
value_changed |= true;
|
value_changed = true;
|
||||||
char* p = buf;
|
char* p = buf;
|
||||||
while (*p == '#' || ImCharIsSpace(*p))
|
while (*p == '#' || ImCharIsSpace(*p))
|
||||||
p++;
|
p++;
|
||||||
|
|
Loading…
Reference in a new issue