Skip to content

Commit

Permalink
Fix issue with tooltips where they may appear while TripleA is in the…
Browse files Browse the repository at this point in the history
… background. (#10479)
  • Loading branch information
asvitkine authored May 21, 2022
1 parent 41aa648 commit fc0782a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public void updateTooltip(final String tipText) {

@Override
public void actionPerformed(final ActionEvent e) {
if (text != null && text.length() > 0) {
if (text != null && text.length() > 0 && window != null && window.isActive()) {
final Point currentPoint = MouseInfo.getPointerInfo().getLocation();
if (isPointWithinParentBounds(currentPoint)) {
final PopupFactory popupFactory = PopupFactory.getSharedInstance();
Expand Down

0 comments on commit fc0782a

Please sign in to comment.