Fix the low pixel size limit in Scale to New Size dialog
ClosedPublic

Authored by tymond on Mar 5 2019, 4:16 PM.

Details

Summary

This commit changes the limit for image size
in the dialog from 90k pixels to 100000k (100M) pixels
which is the same limit as in the File -> New dialog.

BUG:395267

Test Plan
  • trying to scale image to 1000M pixels in any dimension

(dialog should not allow for that)

  • trying to scale image to 1000M pixels, but in a different

unit (according to dpi); dialog should not allow for that

  • trying to scale image to 20k pixels, it works fine

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tymond created this revision.Mar 5 2019, 4:16 PM
Restricted Application added a reviewer: Krita. · View Herald TranscriptMar 5 2019, 4:16 PM
Restricted Application added a project: Krita. · View Herald Transcript
tymond requested review of this revision.Mar 5 2019, 4:16 PM
woltherav accepted this revision.Mar 6 2019, 9:20 AM
woltherav added a subscriber: woltherav.

Push :)

This revision is now accepted and ready to land.Mar 6 2019, 9:20 AM
This revision was automatically updated to reflect the committed changes.