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);

View file

@ -520,6 +520,8 @@ public class CallbackClientImpl implements CallbackClient {
.append("<br/><b>")
.append(KeyEvent.getKeyText(PreferencesDialog.getCurrentControlKey(PreferencesDialog.KEY_CONTROL_SWITCH_CHAT)))
.append("</b> - Switch in/out to chat text field")
.append("<br/><b>ALT + D</b> - show/hide panel with big card from the right side")
.append("<br/><b>Hold ALT + E</b> - force to show card popup in image mode")
/*
.append("<br/><b>")
.append(KeyEvent.getKeyText(PreferencesDialog.getCurrentControlKey(PreferencesDialog.KEY_CONTROL_TOGGLE_MACRO)))