fix: Adjust camera distance text position in viewport
This commit is contained in:
@@ -181,7 +181,7 @@ void ViewportWidget::paintGL()
|
|||||||
}
|
}
|
||||||
|
|
||||||
painter.setPen(Qt::white);
|
painter.setPen(Qt::white);
|
||||||
painter.drawText(width() - 150, height() - 10, QString("Camera Distance: %1").arg(-m_camera->zoom()));
|
painter.drawText(width() - 350, height() - 10, QString("Camera Distance: %1").arg(-m_camera->zoom()));
|
||||||
|
|
||||||
painter.end();
|
painter.end();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user