mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-13 12:26:05 -05:00
Round zoom number display to 1 decimal place
This commit is contained in:
@@ -349,7 +349,7 @@ void Editor::onHoveredMapMetatileChanged(int x, int y) {
|
||||
.arg(x)
|
||||
.arg(y)
|
||||
.arg(QString("%1").arg(tile, 3, 16, QChar('0')).toUpper())
|
||||
.arg(QString::number(pow(scale_base, scale_exp))));
|
||||
.arg(QString::number(pow(scale_base, scale_exp), 'g', 2)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user