repro workflow
Spotted that when switching observables that contain draw gratings, often there are blank frames in between initialisation. This can happen if e.g. a Timer aborts the observable and seems to interrupt the rendering of the grating.
In discussion with @glopesdev - noticed that this is specific to DrawGratings and that it is caused by DrawGratings dependence on UpdateFrame internally, that means WithLatestFrom is dependent on an update step.
repro workflow
Spotted that when switching observables that contain draw gratings, often there are blank frames in between initialisation. This can happen if e.g. a Timer aborts the observable and seems to interrupt the rendering of the grating.
In discussion with @glopesdev - noticed that this is specific to DrawGratings and that it is caused by DrawGratings dependence on UpdateFrame internally, that means WithLatestFrom is dependent on an update step.