Fix InputScalar step

This commit is contained in:
Soreepeong 2025-08-06 20:23:06 +09:00
parent 2f9363b9cc
commit 5486fc33a3

View file

@ -270,8 +270,8 @@ public static unsafe partial class ImGui
labelPtr, labelPtr,
dataType, dataType,
dataPtr, dataPtr,
stepPtr, step.CompareTo(T.Zero) > 0 ? stepPtr : null,
stepFastPtr, stepFast.CompareTo(T.Zero) > 0 ? stepFastPtr : null,
formatPtr, formatPtr,
flags) != 0; flags) != 0;
label.Dispose(); label.Dispose();
@ -298,8 +298,8 @@ public static unsafe partial class ImGui
dataType, dataType,
dataPtr, dataPtr,
data.Length, data.Length,
stepPtr, step.CompareTo(T.Zero) > 0 ? stepPtr : null,
stepFastPtr, stepFast.CompareTo(T.Zero) > 0 ? stepFastPtr : null,
formatPtr, formatPtr,
flags) != 0; flags) != 0;
label.Dispose(); label.Dispose();
@ -325,8 +325,8 @@ public static unsafe partial class ImGui
labelPtr, labelPtr,
GetImGuiDataType<T>(), GetImGuiDataType<T>(),
dataPtr, dataPtr,
stepPtr, step.CompareTo(T.Zero) > 0 ? stepPtr : null,
stepFastPtr, stepFast.CompareTo(T.Zero) > 0 ? stepFastPtr : null,
formatPtr, formatPtr,
flags) != 0; flags) != 0;
label.Dispose(); label.Dispose();
@ -353,8 +353,8 @@ public static unsafe partial class ImGui
GetImGuiDataType<T>(), GetImGuiDataType<T>(),
dataPtr, dataPtr,
data.Length, data.Length,
stepPtr, step.CompareTo(T.Zero) > 0 ? stepPtr : null,
stepFastPtr, stepFast.CompareTo(T.Zero) > 0 ? stepFastPtr : null,
formatPtr, formatPtr,
flags) != 0; flags) != 0;
label.Dispose(); label.Dispose();