Commit 4284e65
committed
AnimatedMRI: Don't try to scale factor 1
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Illegal scaling factor: 1
at io.github.stanio.xbrz.Scaler.forFactor(Scaler.java:29)
at io.github.stanio.xbrz.Xbrz.<init>(Xbrz.java:127)
at io.github.stanio.xbrz.awt.AnimatedMultiResolutionImage.lambda$0(AnimatedMultiResolutionImage.java:52)
at io.github.stanio.xbrz.awt.AnimatedMultiResolutionImage.getResolutionVariant(AnimatedMultiResolutionImage.java:51)1 parent e82a1ff commit 4284e65
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | | - | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
0 commit comments