mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Tooltip handling - Tooltip window is always closed if you click on a card panel.
This commit is contained in:
parent
a6797282cd
commit
bc775a7d05
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ public class MageActionCallback implements ActionCallback {
|
|||
public void mousePressed(MouseEvent e, TransferData data) {
|
||||
data.component.requestFocusInWindow();
|
||||
defaultCallback.mouseClicked(e, data.gameId, session, data.card);
|
||||
// Closes popup & enlarged view if a card/Permanent is selected
|
||||
hidePopup();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue