feat: save last window state ie. position and size

This commit is contained in:
Prayag Prajapati committed 2025-03-17 22:16:17 +05:30
1 parent d3d5c5ac54
commit b916560c6a
14 files changed
+2226 -2082

No files matched your search

+1 -1
View File
@@ -248,7 +248,7 @@ const BubbleSlider = ({
// disablePortal: true,
},
tooltip: {
className: "glass",
// className: "glass",
style: {
width: "34em",
overflow: "hidden",
+2 -2
View File
@@ -24,8 +24,8 @@ const router = createRouter({
fetchCurrentUser: undefined!,
},
defaultPreload: "intent",
scrollRestoration: true,
scrollRestorationBehavior: "smooth",
// scrollRestoration: true,
// scrollRestorationBehavior: "smooth",
});
// Register the router instance for type safety
+5 -3
View File
@@ -819,14 +819,16 @@ function VideoPlayer() {
</div>
{(forceShowCredits || !showUpNextCard) && (
<div className="video-player-osd-info">
<Typography variant="h4" fontWeight={500} mb={2}>
{String(itemName)}
<div>
<Typography variant="h4" fontWeight={500} mb={2}>
{String(itemName)}
</Typography>
{episodeTitle && (
<Typography variant="h6" fontWeight={300} mt={1}>
{String(episodeTitle)}
</Typography>
)}
</Typography>
</div>
<div className="video-player-osd-controls">
<div className="video-player-osd-controls-progress">
{item && api && (