Resolve "add chapter after remove doesn't work"
Compare changes
@@ -30,7 +30,7 @@ export function addChapter(chapterId?: string, chapter?: Chapter, offsetY?: numb
@@ -30,7 +30,7 @@ export function addChapter(chapterId?: string, chapter?: Chapter, offsetY?: numb
const newYPos = chapters.length > 0 ? chapters[chapters.length - 1].position.y + 200 + offsetY : 200 + offsetY;