Fixed ColorEdit breakage introduced by d3a387c (#2557, #1875, #2034)

This commit is contained in:
omar 2019-05-18 11:18:12 +02:00
parent 679cf7434e
commit e6109a9145

View File

@ -2775,7 +2775,7 @@ bool ImGui::TempInputTextScalar(const ImRect& bb, ImGuiID id, const char* label,
if (value_changed) if (value_changed)
MarkItemEdited(id); MarkItemEdited(id);
} }
return false; return value_changed;
} }
bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* data_ptr, const void* step, const void* step_fast, const char* format, ImGuiInputTextFlags flags) bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* data_ptr, const void* step, const void* step_fast, const char* format, ImGuiInputTextFlags flags)