mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix: place new overlay tracks at the top of the timeline
This commit is contained in:
@@ -329,7 +329,7 @@ describe("resolveTrackPlacement", () => {
|
||||
).toEqual({
|
||||
kind: "newTrack",
|
||||
trackType: "graphic",
|
||||
insertIndex: 1,
|
||||
insertIndex: 0,
|
||||
insertPosition: null,
|
||||
});
|
||||
});
|
||||
|
||||
@@ -176,7 +176,7 @@ export function resolveTrackPlacement({
|
||||
return resolveAlwaysNewTrack({
|
||||
tracks,
|
||||
trackType,
|
||||
position: "default",
|
||||
position: "highest",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user