This commit is contained in:
kehuaWangfff 2026-03-29 04:43:03 +00:00 committed by GitHub
commit f15097e00f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -65,7 +65,7 @@ export function TimelineTrackContent({
});
return (
<button
<div
className="size-full"
onClick={(event) => {
if (shouldIgnoreClick?.()) return;
@ -75,7 +75,6 @@ export function TimelineTrackContent({
event.preventDefault();
onTrackMouseDown?.(event);
}}
type="button"
>
<div className="relative h-full min-w-full">
{track.elements.length === 0 ? (
@ -109,6 +108,6 @@ export function TimelineTrackContent({
})
)}
</div>
</button>
</div>
);
}