mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Bug fix: curve point tracker not always on top of all curves
This commit is contained in:
parent
08b4fec678
commit
69a2bc673a
@ -45,6 +45,10 @@ RiuQwtCurvePointTracker::RiuQwtCurvePointTracker( QwtPlot* pl
|
||||
this->setTrackerMode( QwtPicker::AlwaysOn );
|
||||
m_plotMarker = new QwtPlotMarker;
|
||||
|
||||
// Have this marker always on top of all curves/plot items.
|
||||
double zAlwaysOnTop = 99999999;
|
||||
m_plotMarker->setZ( zAlwaysOnTop );
|
||||
|
||||
auto color = RiuGuiTheme::getColorByVariableName( "markerColor" );
|
||||
|
||||
// QwtPlotMarker takes ownership of the symbol, it is deleted in destructor of QwtPlotMarker
|
||||
|
Loading…
Reference in New Issue
Block a user