1
0

ui tweak and minor bug fixes

This commit is contained in:
Gary Wang
2019-10-04 21:34:20 +08:00
parent e11ca3bba5
commit ef3b942fec
5 changed files with 18 additions and 3 deletions

View File

@@ -193,6 +193,8 @@ void GraphicsView::resizeEvent(QResizeEvent *event)
} else {
fitInView(sceneRect(), Qt::KeepAspectRatio);
}
} else {
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), m_rotateAngle);
}
return QGraphicsView::resizeEvent(event);
}