FIXED: Interference between 'span zoom' and mouse wheel- or keyboard-driven zoom
commite37b12ffd31d26851fa72084ce70582ab074a1fe
authorArnaud Gardelein <agardelein@yahoo.fr>
Sat, 10 Mar 2012 22:52:29 +0000 (10 23:52 +0100)
committerArnaud Gardelein <agardelein@yahoo.fr>
Sat, 10 Mar 2012 22:52:29 +0000 (10 23:52 +0100)
treee0d8205f1ba52401f53d8ce20ad93aa9e9558276
parent03c7e16110959fce7dc9f1be9dd612be4ec1b22d
FIXED: Interference between 'span zoom' and mouse wheel- or keyboard-driven zoom

_compute_zoom_range now makes distinction between zoom relative to current bounds (factor > 0) and relative to data bounds (factor < 0). This removes the need to store the current zoom factor, and avoid interferences of Graph modification external to GtkFigure.
oscopy/gtk_figure.py