Skip to content

Commit 3339239

Browse files
committed
fixed deltatime not coinciding inside context wrapper
Contribution of: Cursed-Gato
1 parent c5afb26 commit 3339239

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/context_wrapper.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
inline static void CopyIOEvents(ImGuiContext* src, ImGuiContext* dst, ImVec2 origin, float scale)
77
{
8+
dst->IO.DeltaTime = src->IO.DeltaTime;
89
dst->InputEventsQueue = src->InputEventsTrail;
910
for (ImGuiInputEvent& e : dst->InputEventsQueue) {
1011
if (e.Type == ImGuiInputEventType_MousePos) {

0 commit comments

Comments
 (0)