Trigger a rendering pass when the settings change

This commit is contained in:
luisangelsm
2026-03-06 17:19:02 +01:00
parent de676a0fcb
commit 3f6235fe32
5 changed files with 19 additions and 1 deletions

View File

@ -358,6 +358,15 @@ void Viewer::goTo(unsigned int page)
render->goTo(page);
}
void Viewer::onImageOptionsChanged()
{
if (continuousScroll) {
continuousWidget->invalidateScaledImageCache();
} else {
updatePage();
}
}
void Viewer::updatePage()
{
if (continuousScroll) {