mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4983 Fix drag zoom on Summary and Grid cross plots
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "qwt_plot_zoomer.h"
|
||||
|
||||
#include <QMouseEvent>
|
||||
|
||||
class RiuQwtPlotZoomer : public QwtPlotZoomer
|
||||
{
|
||||
public:
|
||||
@@ -35,6 +37,11 @@ public:
|
||||
return accept( currentSelection );
|
||||
}
|
||||
|
||||
void endZoomOperation()
|
||||
{
|
||||
reset();
|
||||
}
|
||||
|
||||
protected:
|
||||
QSizeF minZoomSize() const override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user