fix: navigator view not get updated in some edge case

Signed-off-by: Gary Wang <wzc782970009@gmail.com>
This commit is contained in:
Gary Wang 2021-05-12 13:55:04 +08:00
parent e4d54e85e2
commit 69802a433e

View File

@ -32,6 +32,7 @@ void NavigatorView::updateMainViewportRegion()
{
if (m_mainView != nullptr) {
m_viewportRegion = mapFromScene(m_mainView->mapToScene(m_mainView->rect()));
update();
}
}