* Fixed a problem that a tooltip window was shown of cards from panels in the back.

This commit is contained in:
LevelX2 2018-03-16 00:28:12 +01:00
parent 3c57115c1e
commit 753e039d02
2 changed files with 13 additions and 1 deletions

View file

@ -613,7 +613,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
}
}
private static MagePane getTopMost(MagePane exclude) {
public static MagePane getTopMost(MagePane exclude) {
MagePane topmost = null;
int best = Integer.MAX_VALUE;
for (Component frame : desktopPane.getComponentsInLayer(JLayeredPane.DEFAULT_LAYER)) {