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
let displacement = displacement * document_to_viewport.matrix2.y_axis.length();// Values are local to the viewport but scaled so values are relative to the current scale.
173
175
if state.is_rounded_to_intervals{ displacement.round()}else{ displacement }
let delta_viewport = ifself.slow{ delta_pos / SLOWING_DIVISOR}else{ delta_pos };
540
+
let delta_scaled = delta_viewport / document_to_viewport.y_axis.length();// Values are local to the viewport but scaled so values are relative to the current scale.
0 commit comments