mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#412) Improved scroll wheel zooming (zoom around mouse Y position)
Moved scroll wheel handling to well log trace plot viewer, using event filter for the plot canvas to get the mouse Y position, which is transformed to the corresponding plot depth value and used as center for zooming.
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
|
||||
RiuWellLogPlot* viewer();
|
||||
|
||||
void zoomDepth(double zoomFactor);
|
||||
void zoomDepth(double zoomFactor, double zoomCenter);
|
||||
void panDepth(double panFactor);
|
||||
void setVisibleDepthRange(double minimumDepth, double maximumDepth);
|
||||
|
||||
|
Reference in New Issue
Block a user