window->DC.CursorPos+=offset;// As we happen to move the window while it is being appended to (which is a bad idea - will smear) let's at least offset the cursor
window->DC.CursorPos+=offset;// As we happen to move the window while it is being appended to (which is a bad idea - will smear) let's at least offset the cursor
window->DC.CursorMaxPos+=offset;// And more importantly we need to offset CursorMaxPos/CursorStartPos this so ContentSize calculation doesn't get affected.
window->DC.CursorMaxPos+=offset;// And more importantly we need to offset CursorMaxPos/CursorStartPos this so ContentSize calculation doesn't get affected.
constfloatmove_speed=ImFloor(NAV_MOVE_SPEED*io.DeltaTime*ImMin(io.DisplayFramebufferScale.x,io.DisplayFramebufferScale.y));// FIXME: Doesn't handle variable framerate very well
constfloatmove_speed=ImFloor(NAV_MOVE_SPEED*io.DeltaTime*ImMin(io.DisplayFramebufferScale.x,io.DisplayFramebufferScale.y));// FIXME: Doesn't handle variable framerate very well