Open elgransan opened 1 year ago
Hi, I need to capture the zoom event only when the user spins the wheel but no when I set the zoom manually through SetZoom, the event is firing in both cases. I figure out unsubscribing and resubscribing again to the event, but exists a better way?
Diagram.ZoomChanged -= HandleZoom; Diagram.SetZoom(zoom); Diagram.ZoomChanged += HandleZoom;
Hi, I need to capture the zoom event only when the user spins the wheel but no when I set the zoom manually through SetZoom, the event is firing in both cases. I figure out unsubscribing and resubscribing again to the event, but exists a better way?