Finish Media module.

This commit is contained in:
Jas Singh
2024-06-23 20:28:43 -07:00
parent 46c34e169d
commit 5eef18485d
10 changed files with 686 additions and 62 deletions

View File

@@ -30,7 +30,7 @@ const moveBoxToCursor = (self, minWidth, minHeight, fixed) => {
marginRight = 13;
marginLeft = monWidth - minWidth - 13;
}
const marginTop = 40;
const marginTop = 43;
const marginBottom = monHeight + minHeight - marginTop;
self.set_margin_left(marginLeft);
self.set_margin_right(marginRight);
@@ -58,7 +58,7 @@ export default ({
keymode: "on-demand",
exclusivity,
layer: "top",
anchor: ["top"],
anchor: ["top", "left"],
child: Widget.EventBox({
on_primary_click: () => App.closeWindow(name),
on_secondary_click: () => App.closeWindow(name),