| 1474 | } |
| 1475 | |
| 1476 | void Viewer::onRenderPageChanged(int page) |
| 1477 | { |
| 1478 | if (!continuousScroll || page < 0 || page == lastCenterPage || syncingRenderFromContinuousScroll) { |
| 1479 | return; |
| 1480 | } |
| 1481 | |
| 1482 | lastCenterPage = page; |
| 1483 | continuousViewModel->setAnchorPage(page); |
| 1484 | scrollToCurrentContinuousPage(); |
| 1485 | } |
| 1486 | |
| 1487 | void Viewer::setMangaModeImpl(bool manga, bool persistSettings) |
| 1488 | { |
nothing calls this directly
no test coverage detected