git://git.nikiroo.be
/
fanfix-swing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f552e7
)
UIHelper: fix for nikiroo-utils update
author
Niki Roo
<niki@nikiroo.be>
Thu, 7 May 2020 17:31:10 +0000
(19:31 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Thu, 7 May 2020 17:31:10 +0000
(19:31 +0200)
src/be/nikiroo/fanfix_swing/gui/utils/UiHelper.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix_swing/gui/utils/UiHelper.java
b/src/be/nikiroo/fanfix_swing/gui/utils/UiHelper.java
index 2da67e2f856b8d3e7a5b5f54a523aa1cea7bc9cc..6a296d808c862657edba431943f9350cbc494b3f 100644
(file)
--- 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<java.awt.Image> resizedImages = new ArrayList<java.awt.Image>();
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;