- Prevent a NPE when trying to zoom a card before a single card is selected.

This commit is contained in:
Agetian
2017-08-18 15:23:08 +00:00
parent 0d85eb6b90
commit a5eeaae0d0

View File

@@ -193,6 +193,10 @@ public enum CardZoomer {
} }
private void displayCard() { private void displayCard() {
if (thisCard == null) {
return;
}
isMouseWheelEnabled = false; isMouseWheelEnabled = false;
setLayout(); setLayout();
setImage(); setImage();