src/main.cpp

changeset 359
73b6c478378e
parent 356
65b4741b302d
child 361
c5e8b68e34f8
--- a/src/main.cpp	Sun Apr 09 00:56:49 2023 +0300
+++ b/src/main.cpp	Sun Apr 09 01:12:00 2023 +0300
@@ -746,6 +746,7 @@
 				{
 					data->gridLayer->setGridMatrix(newGridMatrix);
 					data->tools->setGridMatrix(newGridMatrix);
+					data->canvas->setModelViewOrigin(newGridMatrix[3]);
 					data->canvas->update();
 				}
 			});

mercurial