diff --git a/touch/touch.view.ts b/touch/touch.view.ts index e9c48caa0cc..991a164b5fe 100644 --- a/touch/touch.view.ts +++ b/touch/touch.view.ts @@ -303,9 +303,9 @@ namespace $.$$ { if( action_type === 'zoom' ) { const zoom_prev = this.zoom() || 0.001 - const zoom_next = zoom_prev * ( 1 - .001 * Math.min( event.deltaY, 100 ) ) + let zoom_next = zoom_prev * ( 1 - .001 * Math.min( event.deltaY, 100 ) ) + zoom_next = this.zoom( zoom_next ) const mult = zoom_next / zoom_prev - this.zoom( zoom_next ) const pan_prev = this.pan() const center = this.pointer_center()!