feat(cbx-viewer): add (back) infinite and long-strip modes, fixed. (#390)

* feat(cbx-viewer): add (back) infinite and long-strip modes, fixed.

* feat(reader): improve strip width controls and improve continuation affordance

* fix(cbx-reader): clear debounce timer on layout generation changes
This commit is contained in:
brios
2026-04-22 17:27:07 -04:00
committed by Zach Yale
parent 78099cc92c
commit 1db1b8404a
20 changed files with 964 additions and 123 deletions
@@ -202,6 +202,8 @@ public class BookLoreUser {
private CbxPageFitMode fitMode;
private CbxPageScrollMode scrollMode;
private CbxBackgroundColor backgroundColor;
/** Max width (percent of reader) for infinite / long-strip modes; null means 100. */
private Integer stripMaxWidthPercent;
}
@Data
@@ -101,6 +101,7 @@ public class DefaultUserSettingsProvider {
.fitMode(CbxPageFitMode.FIT_HEIGHT)
.scrollMode(CbxPageScrollMode.PAGINATED)
.backgroundColor(CbxBackgroundColor.GRAY)
.stripMaxWidthPercent(100)
.build();
}