From e6109a914547ab065acebfdd366779a3af130d50 Mon Sep 17 00:00:00 2001 From: omar Date: Sat, 18 May 2019 11:18:12 +0200 Subject: [PATCH] Fixed ColorEdit breakage introduced by d3a387c (#2557, #1875, #2034) --- imgui_widgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp index bcd5d3b92..d34f519ca 100644 --- a/imgui_widgets.cpp +++ b/imgui_widgets.cpp @@ -2775,7 +2775,7 @@ bool ImGui::TempInputTextScalar(const ImRect& bb, ImGuiID id, const char* label, if (value_changed) 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)