Re: [PATCH yew-widget-toolkit] touch: gesture detector: implement pinch zoom gesture

Dominik Csapak
2026-04-16T06:31:09Z

On 4/15/26 6:03 PM, Dietmar Maurer wrote:
> not diving deeper, but I would prefer a single callback.
> Just move the phase (Start, End) into the callback parameter? Or does that
> complicate things for you?
>

no that should work fine, i'll add a new property for the
GesturePinchZoomEvent.

I'd change the on_drag_start/update/end also to a single callback
(and add a GestureDragEvent struct)

as far as i can see we don't have any users of that outside of the
widget toolkit