mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix improve timeline element visual display
This commit is contained in:
@@ -192,7 +192,7 @@ export function Timeline() {
|
|||||||
let scrollLeft = 0;
|
let scrollLeft = 0;
|
||||||
|
|
||||||
if (isRulerClick) {
|
if (isRulerClick) {
|
||||||
// Calculate based on ruler position
|
// Calculate based on ruler position
|
||||||
const rulerContent = rulerScrollRef.current?.querySelector(
|
const rulerContent = rulerScrollRef.current?.querySelector(
|
||||||
"[data-radix-scroll-area-viewport]"
|
"[data-radix-scroll-area-viewport]"
|
||||||
) as HTMLElement;
|
) as HTMLElement;
|
||||||
|
|||||||
Reference in New Issue
Block a user