From 52cf007fe65ba95880024ff41767e55f29d8e210 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Thu, 7 May 2020 19:31:10 +0200 Subject: [PATCH] UIHelper: fix for nikiroo-utils update --- src/be/nikiroo/fanfix_swing/gui/utils/UiHelper.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/be/nikiroo/fanfix_swing/gui/utils/UiHelper.java b/src/be/nikiroo/fanfix_swing/gui/utils/UiHelper.java index 2da67e2f..6a296d80 100644 --- a/src/be/nikiroo/fanfix_swing/gui/utils/UiHelper.java +++ b/src/be/nikiroo/fanfix_swing/gui/utils/UiHelper.java @@ -173,9 +173,8 @@ public class UiHelper { List resizedImages = new ArrayList(); for (int size : new Integer[] { 16, 20, 64, 400 }) { - resizedImages.add( - ImageUtilsAwt.scaleImage(new Dimension(size, size), - image, -1, zoomSnapWidth)); + resizedImages.add(ImageUtilsAwt.scaleImage(image, + new Dimension(size, size), -1, zoomSnapWidth)); } return resizedImages; -- 2.27.0