mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fixed card's round corner render (more like real card);
This commit is contained in:
parent
7954031f41
commit
4654be5a7d
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ public final class ImageCache {
|
|||
BufferedImage cornerImage = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_INT_ARGB);
|
||||
|
||||
// corner
|
||||
float ROUNDED_CORNER_SIZE = 0.15f; // see CardPanelComponentImpl
|
||||
float ROUNDED_CORNER_SIZE = 0.11f; // see CardPanelComponentImpl
|
||||
int cornerSizeBorder = Math.max(4, Math.round(image.getWidth() * ROUNDED_CORNER_SIZE));
|
||||
|
||||
// corner mask
|
||||
|
|
Loading…
Reference in a new issue