mirror of https://github.com/CGAL/cgal
Change previoux revision 44999: QGraphicsView::matrix returns a *copy* of
its matrix! Hopefully, QGraphicsView has a member function scale(), similar to the one of QMatrix.
This commit is contained in:
parent
dd033c1748
commit
c711f07c2d
|
|
@ -246,7 +246,7 @@ MainWindow::MainWindow()
|
|||
this->graphicsView->setMouseTracking(true);
|
||||
|
||||
// Turn the vertical axis upside down
|
||||
this->graphicsView->matrix().scale(1, -1);
|
||||
this->graphicsView->scale(1, -1);
|
||||
|
||||
// The navigation adds zooming and translation functionality to the
|
||||
// QGraphicsView
|
||||
|
|
|
|||
Loading…
Reference in New Issue