From: Niki Roo Date: Thu, 7 May 2020 20:25:10 +0000 (+0200) Subject: woops X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=c5a15d3d3e6eed686ef5b72d32842e45ee65d154;p=fanfix-swing.git woops --- diff --git a/src/be/nikiroo/fanfix_swing/gui/book/BookLine.java b/src/be/nikiroo/fanfix_swing/gui/book/BookLine.java index 1ebf7710..b386c6f2 100644 --- a/src/be/nikiroo/fanfix_swing/gui/book/BookLine.java +++ b/src/be/nikiroo/fanfix_swing/gui/book/BookLine.java @@ -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); } };