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:
04a6a14
)
woops
author
Niki Roo
<niki@nikiroo.be>
Thu, 7 May 2020 20:25:10 +0000
(22:25 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Thu, 7 May 2020 20:25:10 +0000
(22:25 +0200)
src/be/nikiroo/fanfix_swing/gui/book/BookLine.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix_swing/gui/book/BookLine.java
b/src/be/nikiroo/fanfix_swing/gui/book/BookLine.java
index 1ebf7710bd177e4df11bd1c7954c630ccdcfb296..b386c6f2cdc21779910462e72b1fed58ef30a71e 100644
(file)
--- 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);
}
};