Don't use View#constrainCenter function

This commit is contained in:
Frederic Junod
2019-05-07 14:39:58 +02:00
parent 6e3d3d4877
commit 5012e4987c

View File

@@ -40,6 +40,6 @@ gn.init().then(function() {
center[0] -= resolution * gamma * 25;
center[1] += resolution * beta * 25;
view.setCenter(view.constrainCenter(center));
view.setCenter(center);
});
});