Closed antongit closed 1 year ago
Describe the bug Input (Int2...Int4) widgets only change the first element, all other elements jump to default.
Input (Int2...Int4)
Is there an earlier version where this still works? It worked before Input widgets got their own state using the lastframevalue.
lastframevalue
The problem is in these lines, because there is ref involved. Not sure what is the best way to solve it. https://github.com/vvvv/VL.StandardLibs/blob/37dce4c59a73bceed4f53d5bc24c76bfce14cbe1/VL.ImGui/src/Widgets/Input/InputInt2.cs#L27
ref
To Reproduce ImGui_InputWidget_Bug.zip
Screenshots
Describe the bug
Input (Int2...Int4)
widgets only change the first element, all other elements jump to default.Is there an earlier version where this still works? It worked before Input widgets got their own state using the
lastframevalue
.The problem is in these lines, because there is
ref
involved. Not sure what is the best way to solve it. https://github.com/vvvv/VL.StandardLibs/blob/37dce4c59a73bceed4f53d5bc24c76bfce14cbe1/VL.ImGui/src/Widgets/Input/InputInt2.cs#L27To Reproduce ImGui_InputWidget_Bug.zip
Screenshots