--- 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();
+}