mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Prevent a NPE when trying to zoom a card before a single card is selected.
This commit is contained in:
@@ -193,6 +193,10 @@ public enum CardZoomer {
|
||||
}
|
||||
|
||||
private void displayCard() {
|
||||
if (thisCard == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
isMouseWheelEnabled = false;
|
||||
setLayout();
|
||||
setImage();
|
||||
|
||||
Reference in New Issue
Block a user