PixelPaint: Use better-fitting image size

This makes the default image fit perfectly into the default viewport,
which means the first fit_image_to_view call will end up with a scale of
exactly 1. This scale level has no visual artifacts, which is the more
intuitive 'default' behavior.

Fixes #10975.
This commit is contained in:
Ben Wiederhake 2021-11-21 15:31:52 +01:00 committed by Andreas Kling
commit afc456edd6
Notes: sideshowbarker 2024-07-18 00:51:54 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -72,8 +72,8 @@ CreateNewImageDialog::CreateNewImageDialog(GUI::Window* parent_window)
width_spinbox.set_range(1, 16384);
height_spinbox.set_range(1, 16384);
width_spinbox.set_value(480);
height_spinbox.set_value(360);
width_spinbox.set_value(510);
height_spinbox.set_value(356);
}
}