Buttons below window
This commit is contained in:
8
js/prototype/ButtonManager.js
vendored
8
js/prototype/ButtonManager.js
vendored
@@ -49,15 +49,15 @@ var ButtonManager = function(cameras, previewer) {
|
||||
ButtonManager.prototype.updateElements = function() {
|
||||
// Update icon
|
||||
if (!this.cameras.mainCamera().undoable()) {
|
||||
this.undoElement.className = "btn btn-default";
|
||||
this.undoElement.className = "btn btn-default navbar-btn";
|
||||
} else {
|
||||
this.undoElement.className = "btn btn-primary";
|
||||
this.undoElement.className = "btn btn-primary navbar-btn";
|
||||
}
|
||||
|
||||
if (!this.cameras.mainCamera().redoable()) {
|
||||
this.redoElement.className = "btn btn-default";
|
||||
this.redoElement.className = "btn btn-default navbar-btn";
|
||||
} else {
|
||||
this.redoElement.className = "btn btn-primary";
|
||||
this.redoElement.className = "btn btn-primary navbar-btn";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
4
js/prototype/main.js
vendored
4
js/prototype/main.js
vendored
@@ -78,9 +78,9 @@ function init() {
|
||||
// Initialize pointer camera
|
||||
var camera1 = new PointerCamera(50, container_size.width() / container_size.height(), 0.01, 100000, renderer, container);
|
||||
|
||||
// cameras = initBobomb(camera1, scene, static_path, coins);
|
||||
cameras = initBobomb(camera1, scene, static_path, coins);
|
||||
// cameras = initWhomp(camera1, scene, static_path, coins);
|
||||
cameras = initMountain(camera1, scene, static_path, coins);
|
||||
// cameras = initMountain(camera1, scene, static_path, coins);
|
||||
|
||||
// Add listeners
|
||||
initListeners();
|
||||
|
||||
Reference in New Issue
Block a user