mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Prevent flickering when multiple dialogs appear in quick succession
This commit is contained in:
@@ -823,8 +823,8 @@ public class CardView extends GameEntityView {
|
||||
/**
|
||||
* @return the imageKey
|
||||
*/
|
||||
public String getImageKey() {
|
||||
return mayBeShown ? imageKey : ImageKeys.HIDDEN_CARD;
|
||||
public String getImageKey(boolean ignoreMayBeShown) {
|
||||
return mayBeShown || ignoreMayBeShown ? imageKey : ImageKeys.HIDDEN_CARD;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user