fix back snapping

This commit is contained in:
cajun
2024-10-04 00:31:09 -05:00
parent f2a1b0717d
commit be25e668c2

View File

@@ -820,7 +820,7 @@ init script:
snapping_chaptersb := { snapping_chaptersb := {
splits := split_comma(styling.snap_chapter_to_back_box) splits := split_comma(styling.snap_chapter_to_back_box)
len := length(splits) len := length(splits)
if styling.snap_chapter_to_box == "" if styling.snap_chapter_to_back_box == ""
then 0 then 0
else if splits[len-1] == "" else if splits[len-1] == ""
then len - 1 then len - 1