Update camera tool to only show when edit entities is enabled

This commit is contained in:
Ryan Huffman 2015-01-13 08:26:32 -08:00
parent 80351a768e
commit aad49e4404

View file

@ -105,6 +105,8 @@ CameraManager = function() {
Camera.mode = "independent";
that.updateCamera();
cameraTool.setVisible(true);
}
that.disable = function(ignoreCamera) {
@ -115,6 +117,7 @@ CameraManager = function() {
if (!ignoreCamera) {
Camera.mode = that.previousCameraMode;
}
cameraTool.setVisible(false);
}
that.focus = function(position, dimensions, easeOrientation) {