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:
Jon Jenssen authored and jonjenssen committed 2022-03-30 16:19:16 +02:00
1 parent 64d35859a7
commit 2eb1713866
4 files changed
+51 -16

No files matched your search

@@ -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();
}