diff -r f64bfb7f5d26 -r 7c834fe36b25 src/document.cpp --- a/src/document.cpp Sun Aug 29 22:14:42 2021 +0300 +++ b/src/document.cpp Sun Sep 12 12:14:32 2021 +0300 @@ -234,3 +234,8 @@ this->selectedTool->keyReleased(this, this->renderer, event); } } + +void Document::adjustGridToView() +{ + this->renderer->adjustGrid(); +}