mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix mouse wheel not working in 3D view if a plot window is created.
Fix issue with multiplot sometimes being shown incorrectly when switching between fullscreen plots
This commit is contained in:
@@ -869,7 +869,5 @@ void RimMultiPlot::cleanupBeforeClose()
|
||||
bool RimMultiPlot::isMouseCursorInsidePlot()
|
||||
{
|
||||
if ( !m_viewer ) return false;
|
||||
|
||||
QPoint curpos = m_viewer->mapFromGlobal( QCursor::pos() );
|
||||
return ( m_viewer->rect().contains( curpos ) );
|
||||
return m_viewer->underMouse();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user