master #65

Merged
andrey merged 7 commits from master into release 2020-08-18 17:09:40 +03:00
Showing only changes of commit 0f6bc121aa - Show all commits

View File

@@ -126,7 +126,7 @@ bool ImageView::eventFilter(QObject * o, QEvent * e) {
void ImageView::adjustView() {
qreal mp = map.width() / map.size().boundedTo(size()).width();
if (mp > 2) {
if (mp > 1) {
item.setPixmap(map.scaled(map.size()/mp, Qt::KeepAspectRatio, Qt::SmoothTransformation));
} else {
item.setPixmap(map);