diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.InputScalar.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.InputScalar.cs index 7138d8a92..d04dfd101 100644 --- a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.InputScalar.cs +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.InputScalar.cs @@ -270,8 +270,8 @@ public static unsafe partial class ImGui labelPtr, dataType, dataPtr, - stepPtr, - stepFastPtr, + step > T.Zero ? stepPtr : null, + stepFast > T.Zero ? stepFastPtr : null, formatPtr, flags) != 0; label.Dispose(); @@ -298,8 +298,8 @@ public static unsafe partial class ImGui dataType, dataPtr, data.Length, - stepPtr, - stepFastPtr, + step > T.Zero ? stepPtr : null, + stepFast > T.Zero ? stepFastPtr : null, formatPtr, flags) != 0; label.Dispose(); @@ -325,8 +325,8 @@ public static unsafe partial class ImGui labelPtr, GetImGuiDataType(), dataPtr, - stepPtr, - stepFastPtr, + step > T.Zero ? stepPtr : null, + stepFast > T.Zero ? stepFastPtr : null, formatPtr, flags) != 0; label.Dispose(); @@ -353,8 +353,8 @@ public static unsafe partial class ImGui GetImGuiDataType(), dataPtr, data.Length, - stepPtr, - stepFastPtr, + step > T.Zero ? stepPtr : null, + stepFast > T.Zero ? stepFastPtr : null, formatPtr, flags) != 0; label.Dispose();