mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Prevent tooltip counter going up on hyperlink click.
This commit is contained in:
parent
63ca80fc86
commit
1ff8e42222
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ public class ColorPane extends JEditorPane {
|
|||
final Component container = MageFrame.getUI().getComponent(MageComponents.POPUP_CONTAINER);
|
||||
if (e.getEventType() == EventType.EXITED) {
|
||||
setPopupVisibility(null, container, false);
|
||||
} else {
|
||||
}
|
||||
if (e.getEventType() == EventType.ENTERED) {
|
||||
CardInfoPane cardInfoPane = (CardInfoPane) MageFrame.getUI().getComponent(MageComponents.CARD_INFO_PANE);
|
||||
cardInfoPane.setCard(new CardView(card.getMockCard()), container);
|
||||
Point mousePosition = MageFrame.getDesktop().getMousePosition();
|
||||
|
|
Loading…
Reference in a new issue