git-svn-id: svn://db.shs.com.ru/libs@509 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -1827,7 +1827,7 @@ void BlockView::_setNav(QRectF v) {
|
||||
QTransform matrix;
|
||||
double scl = qMin(vw / v.width(), vh / v.height());
|
||||
double ascl = appScale(this);
|
||||
scl = qMin(qMax(scl, 0.02 / ascl), 50. / ascl);
|
||||
scl = qMin(qMax(scl, 0.02 * ascl), 50. * ascl);
|
||||
matrix.scale(scl, scl);
|
||||
//qDebug() << scl;
|
||||
QGraphicsView::setTransform(matrix);
|
||||
|
||||
Reference in New Issue
Block a user