{wallpaper
diff --git a/src/components/modals/dialog-box/DialogBox.jsx b/src/components/modals/dialog-box/DialogBox.jsx
index 6097621..28c30a1 100644
--- a/src/components/modals/dialog-box/DialogBox.jsx
+++ b/src/components/modals/dialog-box/DialogBox.jsx
@@ -65,10 +65,10 @@ export function DialogBox({ modal, params }) {
position={null}
scale={1}
bounds={{
- top: 0,
- bottom: screenHeight - 55,
- left: -modal.size.x + 85,
- right: screenWidth - 5
+ top: -modal.position.y - 1,
+ bottom: screenHeight - 55 - modal.position.y,
+ left: -modal.size.x + 85 - modal.position.x,
+ right: screenWidth - 5 - modal.position.x
}}
cancel="button"
nodeRef={nodeRef}
diff --git a/src/components/modals/dialog-box/DialogBox.module.css b/src/components/modals/dialog-box/DialogBox.module.css
index 4a67e13..0c92dac 100644
--- a/src/components/modals/dialog-box/DialogBox.module.css
+++ b/src/components/modals/dialog-box/DialogBox.module.css
@@ -7,9 +7,7 @@
flex-direction: column;
min-width: 300px;
min-height: 150px;
- background-color: var(--background-color-c);
- border-radius: 0.5rem;
- box-shadow: var(--window-box-shadow);
+ background-color: var(--background-color-c) !important;
resize: both;
overflow: hidden;
}
diff --git a/src/components/windows/WindowView.jsx b/src/components/windows/WindowView.jsx
index e2c74f1..2e4e82d 100644
--- a/src/components/windows/WindowView.jsx
+++ b/src/components/windows/WindowView.jsx
@@ -14,6 +14,17 @@ import { ModalsView } from "../modals/ModalsView.jsx";
import { useContextMenu } from "../../hooks/modals/contextMenu.js";
import AppsManager from "../../features/applications/applications.js";
+/**
+ * @typedef {object} windowProps
+ * @property {Application} app
+ * @property {Function} setTitle
+ * @property {Function} setIconUrl
+ * @property {Function} close
+ * @property {Function} focus
+ * @property {boolean} active
+ * @property {import("../../features/modals/modals.js").default} modalsManager
+ */
+
/**
* @param {object} props
* @param {string} props.id
@@ -172,6 +183,7 @@ export const WindowView = memo(({ id, app, size, position, onInteract, options,
close={close}
focus={focus}
active={active}
+ modalsManager={modalsManager}
/>