woops
authorNiki Roo <niki@nikiroo.be>
Thu, 7 May 2020 20:25:10 +0000 (22:25 +0200)
committerNiki Roo <niki@nikiroo.be>
Thu, 7 May 2020 20:25:10 +0000 (22:25 +0200)
src/be/nikiroo/fanfix_swing/gui/book/BookLine.java

index 1ebf7710bd177e4df11bd1c7954c630ccdcfb296..b386c6f2cdc21779910462e72b1fed58ef30a71e 100644 (file)
@@ -87,8 +87,8 @@ public class BookLine extends JPanel {
                                int x = Math.max(0, (sz.width - sz.height) / 2);
                                int y = Math.max(0, (sz.height - sz.width) / 2);
 
-                               UIUtils.drawEllipse3D(g, BookCoverImager.UNCACHED_ICON_COLOR, 2,
-                                               6, 10, 10, false);
+                               UIUtils.drawEllipse3D(g, BookCoverImager.UNCACHED_ICON_COLOR, x,
+                                               y, s, s, false);
                        }
                };