fix: place new overlay tracks at the top of the timeline
This commit is contained in:
parent
e4b67094e7
commit
e43b859439
|
|
@ -329,7 +329,7 @@ describe("resolveTrackPlacement", () => {
|
||||||
).toEqual({
|
).toEqual({
|
||||||
kind: "newTrack",
|
kind: "newTrack",
|
||||||
trackType: "graphic",
|
trackType: "graphic",
|
||||||
insertIndex: 1,
|
insertIndex: 0,
|
||||||
insertPosition: null,
|
insertPosition: null,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -176,7 +176,7 @@ export function resolveTrackPlacement({
|
||||||
return resolveAlwaysNewTrack({
|
return resolveAlwaysNewTrack({
|
||||||
tracks,
|
tracks,
|
||||||
trackType,
|
trackType,
|
||||||
position: "default",
|
position: "highest",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue