forked from External/mage
Now if there is big image (card.plugin), rules box is not displayed.
This commit is contained in:
parent
3b9b92ed0b
commit
502b21fddb
5 changed files with 15 additions and 8 deletions
|
|
@ -33,6 +33,7 @@ public class MageMouseMotionAdapter extends MouseMotionAdapter {
|
|||
if (image != null && image instanceof BufferedImage) {
|
||||
image = ImageHelper.getResizedImage((BufferedImage) image, bigCard.getWidth(), bigCard.getHeight());
|
||||
bigCard.setCard(card.getOriginal().getId(), image, card.getOriginal().getRules());
|
||||
bigCard.hideTextComponent();
|
||||
} else {
|
||||
//TODO: add description panel
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue