mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* UI: fixed that cards from Masterpiece Series don't draw selectable frames (#5505);
This commit is contained in:
parent
a2daa72678
commit
d1e2fc860d
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ public class ModernCardRenderer extends CardRenderer {
|
||||||
g.setPaint(borderPaint);
|
g.setPaint(borderPaint);
|
||||||
|
|
||||||
if (cardView.getFrameStyle() == FrameStyle.KLD_INVENTION) {
|
if (cardView.getFrameStyle() == FrameStyle.KLD_INVENTION) {
|
||||||
g.drawImage(FRAME_INVENTION, 0, 0, cardWidth, cardHeight, null);
|
g.drawImage(FRAME_INVENTION, 3, 3, cardWidth - 6, cardHeight - 6, null);
|
||||||
g.drawRect(
|
g.drawRect(
|
||||||
totalContentInset, typeLineY,
|
totalContentInset, typeLineY,
|
||||||
contentWidth - 1, cardHeight - borderWidth * 3 - typeLineY - 1);
|
contentWidth - 1, cardHeight - borderWidth * 3 - typeLineY - 1);
|
||||||
|
|
Loading…
Reference in a new issue