Fixed lingering menus when switching screens and fixed hour timer for media menu.

This commit is contained in:
Jas Singh
2024-06-23 20:57:52 -07:00
parent 5eef18485d
commit 42b8948e48
9 changed files with 37 additions and 12 deletions

View File

@@ -1,4 +1,5 @@
const mpris = await Service.import("mpris");
import { closeAllMenus } from "../bar.js";
const Media = () => {
const activePlayer = Variable(mpris.players[0]);
@@ -96,6 +97,7 @@ const Media = () => {
globalMousePos.value = coords;
closeAllMenus();
App.toggleWindow("mediamenu");
},
},