From c5a15d3d3e6eed686ef5b72d32842e45ee65d154 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Thu, 7 May 2020 22:25:10 +0200 Subject: [PATCH] woops --- src/be/nikiroo/fanfix_swing/gui/book/BookLine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }; -- 2.27.0