mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-31 13:15:33 +00:00
Updated ImGui.
This commit is contained in:
+1
-1
@@ -2985,7 +2985,7 @@ bool ImGui::TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImG
|
||||
DataTypeClamp(data_type, p_data, p_clamp_min, p_clamp_max);
|
||||
|
||||
// Only mark as edited if new value is different
|
||||
value_changed = memcmp(&data_type, p_data, data_type_size) != 0;
|
||||
value_changed = memcmp(&data_backup, p_data, data_type_size) != 0;
|
||||
if (value_changed)
|
||||
MarkItemEdited(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user