feat: save last window state ie. position and size
This commit is contained in:
14 files changed
+2226
-2082
No files matched your search
@@ -248,7 +248,7 @@ const BubbleSlider = ({
|
||||
// disablePortal: true,
|
||||
},
|
||||
tooltip: {
|
||||
className: "glass",
|
||||
// className: "glass",
|
||||
style: {
|
||||
width: "34em",
|
||||
overflow: "hidden",
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
@@ -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 && (
|
||||
|
||||
Reference in new issue
Block a user