forked from External/mage
sound: now music settings will be applied after save (related to #11675);
This commit is contained in:
parent
04c6fe19c2
commit
402d049577
3 changed files with 24 additions and 4 deletions
|
|
@ -652,6 +652,10 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
|||
menu.show(component, 0, component.getHeight());
|
||||
}
|
||||
|
||||
public static boolean isGameActive() {
|
||||
return activeFrame instanceof GamePane;
|
||||
}
|
||||
|
||||
public static void setActive(MagePane frame) {
|
||||
// Always hide not hidden popup window or enlarged card view if a frame is set to active
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue