fix input scalar not working the same way as normal imgui code (#2343)

This commit is contained in:
wolfcomp 2025-08-06 18:01:58 +02:00 committed by GitHub
parent 69b4ed941f
commit 2cd5c5bc68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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<T>(),
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<T>(),
dataPtr,
data.Length,
stepPtr,
stepFastPtr,
step > T.Zero ? stepPtr : null,
stepFast > T.Zero ? stepFastPtr : null,
formatPtr,
flags) != 0;
label.Dispose();