@@ -60,6 +62,12 @@
backdrop-filter: blur(1px);
}
+ .rounded {
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 4px;
+ overflow: hidden;
+ }
+
.border {
margin-top: 7px;
border-bottom: 1px solid var(--foreground);
diff --git a/src/components/directives/scrollShadow.ts b/src/lib/directives/scrollShadow.ts
similarity index 100%
rename from src/components/directives/scrollShadow.ts
rename to src/lib/directives/scrollShadow.ts
diff --git a/src/stores/AppState.ts b/src/stores/AppState.ts
index 4ff615cf..2b49370c 100644
--- a/src/stores/AppState.ts
+++ b/src/stores/AppState.ts
@@ -30,6 +30,7 @@ export enum Theme {
LIGHT
}
+export const windowIsMaximized = writable(false);
export const theme = writable(Theme.DARK);
export const renderGamesInList = writable(false);
export const optionsSize = writable(16);
diff --git a/src/windows/main/Main.svelte b/src/windows/main/Main.svelte
index 2bd3e0f2..38c6a0ba 100644
--- a/src/windows/main/Main.svelte
+++ b/src/windows/main/Main.svelte
@@ -10,7 +10,7 @@
import Grids from "../../components/core/grids/Grids.svelte";
import { AppController } from "../../lib/controllers/AppController";
import { exit } from "@tauri-apps/api/process";
- import { activeUserId, dbFilters, isOnline, showHidden, steamUsers } from "../../stores/AppState";
+ import { activeUserId, dbFilters, isOnline, showHidden, steamUsers, windowIsMaximized } from "../../stores/AppState";
import { showManualGamesModal, showBatchApplyModal, showBatchApplyProgress, showGridModal, showLogoPositionModal, showSettingsModal, showCleanGridsModal, showCleanConflictDialog, showUpdateModal, updateManifest, showDialogModal, showSteamPathModal, showGameSearchModal, showInfoModal, showCurrentGridsModal } from "../../stores/Modals";
import DropDown from "../../components/interactables/DropDown.svelte";
import type { Unsubscriber } from "svelte/store";
@@ -27,7 +27,7 @@
import DialogModal from "../../components/modals/DialogModal.svelte";
import SteamPathModal from "../../components/modals/SteamPathModal.svelte";
import GameSearchModal from "../../components/modals/game-search/GameSearchModal.svelte";
- import PrivacyModal from "../../components/modals/PrivacyModal.svelte";
+ import PrivacyModal from "../../components/modals/InfoModal.svelte";
import { SettingsManager } from "../../lib/utils/SettingsManager";
import CurrentGridsModal from "../../components/modals/current-grids/CurrentGridsModal.svelte";
@@ -133,8 +133,8 @@
});
-
-
+
+