You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I inspected autoPan and calcAutoPan. autoPan repeatedly calls requestAnimationFrame(autoPan) but doesn't use the RAF timestamp, and calcAutoPan returns velocity * speed (default 15). That looks like the movement may be applied as pixels per frame rather than scaled by elapsed time.
Is autoPanSpeed intended to be interpreted as px/frame or px/sec? If it's px/frame, that could make autopan speed vary across different monitor refresh rates.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I inspected
autoPan
andcalcAutoPan
.autoPan
repeatedly callsrequestAnimationFrame(autoPan)
but doesn't use the RAF timestamp, andcalcAutoPan
returnsvelocity * speed
(default15
). That looks like the movement may be applied as pixels per frame rather than scaled by elapsed time.Is
autoPanSpeed
intended to be interpreted as px/frame or px/sec? If it's px/frame, that could make autopan speed vary across different monitor refresh rates.Beta Was this translation helpful? Give feedback.
All reactions