diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 774c400..af7b418 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -18,7 +18,7 @@ tauri-build = { version = "1.2.1", features = [] }
log = "^0.4"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
-tauri = { version = "1.2.2", features = ["devtools", "http-all", "process-exit", "process-relaunch", "shell-all", "window-set-fullscreen"] }
+tauri = { version = "1.2.2", features = ["devtools", "process-exit", "process-relaunch", "shell-all", "window-set-fullscreen"] }
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev" }
tauri-plugin-localhost = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev", features = ["colored"] }
diff --git a/src/App.jsx b/src/App.jsx
index 71599a6..312e68f 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -273,10 +273,6 @@ function App() {
setEasterEgg(true);
};
- useEffect(() => {
- appWindow.setFullscreen(false);
- }, [location]);
-
useKonami(sixtyNine, {
code: [
"ArrowUp",
diff --git a/src/routes/home/home.module.scss b/src/routes/home/home.module.scss
index 5c90746..4c9e57a 100644
--- a/src/routes/home/home.module.scss
+++ b/src/routes/home/home.module.scss
@@ -1,5 +1,22 @@
/** @format */
+.home {
+ &-background {
+ &-container {
+ position: fixed !important;
+ width: 100vw;
+ height: 100vh;
+ }
+ }
+ &-backdrop {
+ width: 100vw;
+ height: 100vh;
+ & > * {
+ all: inherit;
+ }
+ }
+}
+
.hero-carousel {
position: relative;
overflow: hidden;
diff --git a/src/routes/home/index.jsx b/src/routes/home/index.jsx
index fb5685f..9aea619 100644
--- a/src/routes/home/index.jsx
+++ b/src/routes/home/index.jsx
@@ -213,6 +213,60 @@ const Home = () => {
position: "relative",
}}
>
+ {/*
+ {latestMedia.isSuccess &&
+ latestMedia.data.length != 0 &&
+ latestMedia.data.map((item, index) => {
+ return (
+ {
+ console.log(
+ "error with home backdrop",
+ item.Name,
+ );
+ }}
+ >
+
+ {item.BackdropImageTags
+ .length != 0 && (
+
+ )}
+
+
+ );
+ })}
+ */}
{
/>
);
})}
-
diff --git a/src/routes/player/videoPlayer.jsx b/src/routes/player/videoPlayer.jsx
index ed70b89..036c43f 100644
--- a/src/routes/player/videoPlayer.jsx
+++ b/src/routes/player/videoPlayer.jsx
@@ -249,7 +249,12 @@ export const VideoPlayer = () => {
}}
>
- navigate(-1)}>
+ {
+ await appWindow.setFullscreen(false);
+ navigate(-1);
+ }}
+ >