fix: navigator view not get updated in some edge case
Signed-off-by: Gary Wang <wzc782970009@gmail.com>
This commit is contained in:
parent
e4d54e85e2
commit
69802a433e
@ -32,6 +32,7 @@ void NavigatorView::updateMainViewportRegion()
|
|||||||
{
|
{
|
||||||
if (m_mainView != nullptr) {
|
if (m_mainView != nullptr) {
|
||||||
m_viewportRegion = mapFromScene(m_mainView->mapToScene(m_mainView->rect()));
|
m_viewportRegion = mapFromScene(m_mainView->mapToScene(m_mainView->rect()));
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user