MCPcopy Create free account
hub / github.com/YACReader/yacreader / syncRenderToContinuousReadingProgress

Method syncRenderToContinuousReadingProgress

YACReader/viewer.cpp:1424–1433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424void Viewer::syncRenderToContinuousReadingProgress()
1425{
1426 if (!continuousScroll || continuousViewModel->numPages() <= 0) {
1427 return;
1428 }
1429
1430 lastCenterPage = continuousViewModel->readingProgressPage();
1431 continuousViewModel->setAnchorPage(lastCenterPage);
1432 syncRenderToContinuousPage();
1433}
1434
1435void Viewer::syncRenderToContinuousPage()
1436{

Callers

nothing calls this directly

Calls 3

readingProgressPageMethod · 0.80
setAnchorPageMethod · 0.80
numPagesMethod · 0.45

Tested by

no test coverage detected