mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
#12203 Improve selection and highlight of curves in summary plot
Skip distance check when clicking in the plot, always select closest curve When pressing CTRL, toggle highlighted curves Allow multi select of realizations in Project Tree Avoid curve highlight operation during zoom Make sure wheel zoom works for a single plot
This commit is contained in:
1 parent
8c9da1c87b
commit
c728979bc1
12 files changed
+186
-55
No files matched your search
@@ -1121,6 +1121,19 @@ void RimSummaryPlot::enableCurvePointTracking( bool enable )
|
||||
m_summaryPlot->enableCurvePointTracking( enable );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::any RimSummaryPlot::valueForKey( std::string key ) const
|
||||
{
|
||||
if ( key == "TimeStampZoomOperation" )
|
||||
{
|
||||
return m_lastZoomTime;
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -2618,6 +2631,8 @@ void RimSummaryPlot::onPlotZoomed()
|
||||
timeAxisSettingsChanged( nullptr );
|
||||
|
||||
axisChanged.send( this );
|
||||
|
||||
m_lastZoomTime = std::chrono::steady_clock::now();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user