Don't use View#constrainCenter function
This commit is contained in:
1 parent
6e3d3d4877
commit
5012e4987c
1 file changed
+1
-1
@@ -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);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user