mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +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);
|
final Component container = MageFrame.getUI().getComponent(MageComponents.POPUP_CONTAINER);
|
||||||
if (e.getEventType() == EventType.EXITED) {
|
if (e.getEventType() == EventType.EXITED) {
|
||||||
setPopupVisibility(null, container, false);
|
setPopupVisibility(null, container, false);
|
||||||
} else {
|
}
|
||||||
|
if (e.getEventType() == EventType.ENTERED) {
|
||||||
CardInfoPane cardInfoPane = (CardInfoPane) MageFrame.getUI().getComponent(MageComponents.CARD_INFO_PANE);
|
CardInfoPane cardInfoPane = (CardInfoPane) MageFrame.getUI().getComponent(MageComponents.CARD_INFO_PANE);
|
||||||
cardInfoPane.setCard(new CardView(card.getMockCard()), container);
|
cardInfoPane.setCard(new CardView(card.getMockCard()), container);
|
||||||
Point mousePosition = MageFrame.getDesktop().getMousePosition();
|
Point mousePosition = MageFrame.getDesktop().getMousePosition();
|
||||||
|
|
Loading…
Reference in a new issue