mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
Use mouse point in event instead of calling getMousePosition()
Improves performance and is also the correct way to do this.
This commit is contained in:
parent
a9744b2d04
commit
0b13660348
1 changed files with 1 additions and 1 deletions
|
@ -1056,7 +1056,7 @@ public class CardPanel extends MagePermanent implements MouseListener, MouseMoti
|
|||
if (gameCard.hideInfo()) {
|
||||
return;
|
||||
}
|
||||
if (getMousePosition(true) != null) {
|
||||
if (this.contains(e.getPoint())) {
|
||||
return;
|
||||
}
|
||||
if (tooltipShowing) {
|
||||
|
|
Loading…
Reference in a new issue