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

Method updateZoomRatio

YACReader/viewer.cpp:1680–1689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1678}
1679
1680void Viewer::updateZoomRatio(int ratio)
1681{
1682 zoom = ratio;
1683 if (continuousScroll) {
1684 continuousViewModel->setZoomFactor(zoom);
1685 continuousWidget->invalidateScaledImageCache();
1686 } else {
1687 updateContentSize();
1688 }
1689}
1690
1691bool Viewer::getIsMangaMode()
1692{

Callers

nothing calls this directly

Calls 2

setZoomFactorMethod · 0.45

Tested by

no test coverage detected