diff options
| author | Harshit Shukla <120409631+Harshitshukla0208@users.noreply.github.com> | 2025-06-25 04:54:56 +0530 |
|---|---|---|
| committer | Harshit Shukla <120409631+Harshitshukla0208@users.noreply.github.com> | 2025-06-25 04:54:56 +0530 |
| commit | 274d03185b346fd715274018c6804d0229f2f74e (patch) | |
| tree | caea853e1ed48d9642ea6bcc34321230d2e3e962 /apps/web | |
| parent | bc3fbabfb201f649d468212eceb2bc4a60ed5137 (diff) | |
| download | opencut-274d03185b346fd715274018c6804d0229f2f74e.tar.gz | |
fix(issue): Address issue #67 - [BUG] buttons jitter left and right
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/src/components/editor/timeline.tsx | 2 |
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 &&
|
