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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user