aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/present.tsx2
-rw-r--r--styles/presentation.css7
2 files changed, 3 insertions, 6 deletions
diff --git a/pages/present.tsx b/pages/present.tsx
index 9e65e29..f8f6bc9 100644
--- a/pages/present.tsx
+++ b/pages/present.tsx
@@ -51,6 +51,7 @@ class TimedVideoPlayer {
jumpToSlide(slide: slide) {
this.jumpToFrame(slide.frame);
+ this.player.playbackRate = this.framerate / ((slide as speedChangeSlide).newFramerate || this.framerate);
this.player.pause();
}
@@ -165,7 +166,6 @@ class TimedVideoPlayer {
if (!slide) return;
this.jumpToSlide(slide);
- console.log(this.slide, slide);
}
}
diff --git a/styles/presentation.css b/styles/presentation.css
index 0297484..4f872e2 100644
--- a/styles/presentation.css
+++ b/styles/presentation.css
@@ -74,9 +74,6 @@
background-color: var(--error);
}
-#menu .info .buttons .inner .MuiButton-root {
- margin: 0;
- margin-right: 16px;
- margin-top: 16px;
-}
+#menu .info .buttons .inner .MuiButton-root { margin: 8px; }
+#menu .info .buttons .inner { margin: -8px; }