Added button for fullscreen

This commit is contained in:
Thomas FORGIONE
2015-05-13 11:58:20 +02:00
parent bcff6a7647
commit f8be821cc9
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ var ButtonManager = function(cameras) {
this.collisionElement = document.getElementById('collisions');
this.showarrowsElement = document.getElementById('showarrows');
this.fullscreenElement.onclick = function() {};
this.fullscreenElement.onclick = function() {fullscreen();};
(function(self) {
self.undoElement.onclick = function() {self.cameras.mainCamera().undo(); self.updateElements();}