sound: now music settings will be applied after save (related to #11675);

This commit is contained in:
Oleg Agafonov 2024-01-17 12:28:02 +04:00
parent 04c6fe19c2
commit 402d049577
3 changed files with 24 additions and 4 deletions

View file

@ -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 {