Fix scale factor when using the "Export for Twitter" (fix #3465)

Regression introduced in b7d5d4a2c9
master
David Capello 2022-08-08 10:29:36 -03:00
parent c62aa571aa
commit da636253ee
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ void ExportFileWindow::updateAdjustResizeButton()
void ExportFileWindow::onAdjustResize()
{
resize()->setValue(base::convert_to<std::string>(m_preferredResize));
resize()->setValue(fmt::format("{:.2f}", 100.0 * m_preferredResize));
adjustResize()->setVisible(false);
adjustResize()->parent()->layout();