fix(issue): Address issue #67 - [BUG] buttons jitter left and right

This commit is contained in:
Harshit Shukla
2025-06-25 04:54:56 +05:30
parent bc3fbabfb2
commit 274d03185b

View File

@ -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 &&