mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-11-16 23:25:11 +01:00
Changed resize args.
This commit is contained in:
parent
a9fd510e28
commit
24ded8d2f7
@ -62,9 +62,9 @@ public class NewCommand extends IoMCommand {
|
||||
switch (args[1]) {
|
||||
case "resize":
|
||||
return ImageUtils.ScalingType.CONTAINED;
|
||||
case "resize-stretched":
|
||||
case "stretch":
|
||||
return ImageUtils.ScalingType.STRETCHED;
|
||||
case "resize-covered":
|
||||
case "cover":
|
||||
return ImageUtils.ScalingType.COVERED;
|
||||
default:
|
||||
throwInvalidArgument(I.t("Invalid Stretching mode."));
|
||||
|
Loading…
Reference in New Issue
Block a user