mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-11-16 23:25:11 +01:00
Merge pull request #170 from pierluigizagaria/new-command-arg-fix
Changed resize args.
This commit is contained in:
commit
483a0a29f0
@ -62,8 +62,12 @@ public class NewCommand extends IoMCommand {
|
||||
switch (args[1]) {
|
||||
case "resize":
|
||||
return ImageUtils.ScalingType.CONTAINED;
|
||||
case "stretch":
|
||||
case "stretched":
|
||||
case "resize-stretched":
|
||||
return ImageUtils.ScalingType.STRETCHED;
|
||||
case "cover":
|
||||
case "covered":
|
||||
case "resize-covered":
|
||||
return ImageUtils.ScalingType.COVERED;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user