Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

Add custom hidden scrollbar styles and clean up code

Nikhil Solanki085ebad38fce
diff --git a/src/index.css b/src/index.css
index e154c452a..6ab421f26 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 d0ba1d938..6027a3222 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,