Menu

#118 The place of ZoomEvent in HandleZoomFinish

open
nobody
General (22)
5
2012-09-19
2010-06-10
choi
No

While I'm handling the ZoomEvent, I find the newState from ZoomEvent is an old one in fact.

I think it's because the following codes are put before the AxisChange() in function HandleZoomFinish()
// Provide Callback to notify the user of zoom events
if ( this.ZoomEvent != null )
this.ZoomEvent( this, _zoomState, //oldState,
new ZoomState( _dragPane, ZoomState.StateType.Zoom ) );

In function ZedGraphControl_MouseWheel(), it's ok.

Discussion


Log in to post a comment.