diff --git a/src/document.h b/src/document.h index b7d2d328..2e662e3a 100644 --- a/src/document.h +++ b/src/document.h @@ -541,6 +541,7 @@ struct Document { selected.g->cell->ResetLayout(); selected.g->cell->ResetChildren(); sys->UpdateStatus(selected); + scrolltoselection = true; Refresh(); return dir > 0 ? _(L"Column width increased.") : _(L"Column width decreased."); } @@ -551,6 +552,7 @@ struct Document { selected.g->ResetChildren(); selected.g->RelSize(-dir, selected, pathscalebias); sys->UpdateStatus(selected); + scrolltoselection = true; Refresh(); return dir > 0 ? _(L"Text size increased.") : _(L"Text size decreased."); } else if (ctrl) {