forked from External/mage
Fixed image not correctly resized for big card component.
This commit is contained in:
parent
ef1fa35555
commit
e2049409ab
2 changed files with 8 additions and 9 deletions
|
|
@ -277,8 +277,7 @@ public class BigCard extends JComponent {
|
|||
|
||||
public void setDefaultImage() {
|
||||
bigImage = ImageHelper.getImageFromResources("/empty.png");
|
||||
// XXX: scaled to fit width
|
||||
bigImage = ImageHelper.getResizedImage((BufferedImage) bigImage, getWidth(), getHeight());
|
||||
bigImage = ImageHelper.getResizedImage((BufferedImage) bigImage, getWidth(), getHeight());
|
||||
}
|
||||
|
||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue