summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor
diff options
context:
space:
mode:
authorHarshit Shukla <120409631+Harshitshukla0208@users.noreply.github.com>2025-06-25 04:54:56 +0530
committerHarshit Shukla <120409631+Harshitshukla0208@users.noreply.github.com>2025-06-25 04:54:56 +0530
commit274d03185b346fd715274018c6804d0229f2f74e (patch)
treecaea853e1ed48d9642ea6bcc34321230d2e3e962 /apps/web/src/components/editor
parentbc3fbabfb201f649d468212eceb2bc4a60ed5137 (diff)
downloadopencut-274d03185b346fd715274018c6804d0229f2f74e.tar.gz
fix(issue): Address issue #67 - [BUG] buttons jitter left and right
Diffstat (limited to 'apps/web/src/components/editor')
-rw-r--r--apps/web/src/components/editor/timeline.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx
index 12907738..cb375034 100644
--- a/apps/web/src/components/editor/timeline.tsx
+++ b/apps/web/src/components/editor/timeline.tsx
@@ -221,7 +221,7 @@ export function Timeline() {
const clipLeft = clip.startTime * 50 * zoomLevel;
const clipTop = trackIdx * 60;
const clipBottom = clipTop + 60;
- const clipRight = clipLeft + clipWidth;
+ const clipRight = clipLeft + 60; // Set a fixed width for time display
if (
bx1 < clipRight &&
bx2 > clipLeft &&