Skip to content

v0.1.56

Choose a tag to compare

@kolodiichyk kolodiichyk released this 20 Sep 18:51
· 6 commits to main since this release

Zoom & gestures

Trackpad wheel events are now aggregated into a single gesture.
Wheel events are timestamped and grouped using a new WheelGestureGap, and the wheel
anchor in ReportView is kept persistent for the duration of the gesture instead of
being recomputed per event.

Sub-threshold pinch frames are deferred.
GestureModel.PinchByStep / PinchByScale now report whether the change actually
reached the ZoomModel. Small frames are accumulated and only written once they exceed
ZoomStepThreshold. This fixes the visual drift between the model zoom and the rendered
pages during slow pinches.

Added tests covering the accumulation behaviour and confirming that presenter and page
layout do not drift across many sub-threshold frames.

Internal

  • InternalsVisibleTo added for the WPF test assembly, enabling direct unit tests of
    internal Pysar.Wpf logic without widening the public API.

Full changelog: v0.1.53...HEAD