GUI: added starting chat hints about popup hotkeys (hold <ALT+E> to force image, press <ALT+D> to show/hide right card panel)

This commit is contained in:
Oleg Agafonov 2023-11-26 22:48:24 +04:00
parent f78c1ef08c
commit d016e4c4c3
2 changed files with 3 additions and 0 deletions

View file

@ -2280,6 +2280,7 @@ public final class GamePanel extends javax.swing.JPanel {
this.getActionMap().put("ENLARGE_SOURCE", new AbstractAction() {
@Override
public void actionPerformed(ActionEvent actionEvent) {
// TODO: doesn't work? 26.11.2023
if (isUserImputActive()) return;
ActionCallback callback = Plugins.instance.getActionCallback();
((MageActionCallback) callback).enlargeCard(EnlargeMode.ALTERNATE);