Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

Add custom hidden scrollbar styles and clean up code

Nikhil Solanki658457553ed9
diff --git a/src/index.css b/src/index.css
index e154c452..6ab421f2 100644
--- a/src/index.css
+++ b/src/index.css
@@ -77,6 +77,16 @@
transition: left 33ms linear, right 33ms linear;
}
+ /* Hidden scrollbar - still scrollable but invisible */
+ .custom-scrollbar {
+ scrollbar-width: none; /* Firefox */
+ -ms-overflow-style: none; /* IE/Edge */
+ }
+
+ .custom-scrollbar::-webkit-scrollbar {
+ display: none; /* Chrome, Safari, Opera */
+ }
+
/* Smooth playback scrubber */
input[type="range"] {
-webkit-appearance: none;
diff --git a/src/lib/exporter/frameRenderer.ts b/src/lib/exporter/frameRenderer.ts
index d0ba1d93..6027a322 100644
--- a/src/lib/exporter/frameRenderer.ts
+++ b/src/lib/exporter/frameRenderer.ts
@@ -311,8 +311,6 @@ export class FrameRenderer {
const scaleY = this.config.height / previewHeight;
const scaleFactor = (scaleX + scaleY) / 2;
-
-
await renderAnnotations(
this.compositeCtx,
this.config.annotationRegions,