Add resizing options "long edge" and "short edge" (#6263)

Introduces "long edge" and "short edge" options to resize an image. The GUI is made such that the relevant spinboxes only appear for the selected option. Unrelated values (e.g. for box-mode) are not updated.
This commit is contained in:
Bezierr
2021-06-05 05:37:09 +00:00
committed by GitHub
parent 38ff2b5695
commit d86888e93f
13 changed files with 311 additions and 28 deletions

View File

@@ -1083,6 +1083,8 @@ struct ResizeParamsEdited {
bool dataspec;
bool width;
bool height;
bool longedge;
bool shortedge;
bool enabled;
bool allowUpscaling;
};