mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
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:
parent
177478dadf
commit
afc456edd6
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue