Disable pause button until I have time to rework/fix it

The pause button displays weirdly and doesn't appear to work properly. Disable it until it can be reworked.
This commit is contained in:
Michael Townsend
2016-09-23 11:16:08 -04:00
committed by GitHub
parent a5f5f0f8dc
commit fbc91a3756
+3 -1
View File
@@ -78,6 +78,7 @@ var Events = {
$('<div>').text(scene.notification).appendTo(desc);
// Draw pause button
/* Disable for now, because it doesn't work and looks weird
var pauseBox = $('<div>').attr('id', 'pauseButton').appendTo(desc);
var pause = new Button.Button({
id: 'pause',
@@ -89,6 +90,7 @@ var Events = {
$('<div>').addClass('clear').appendTo(pauseBox);
Events.setPause(pause, 'set');
Events.removePause(pause, 'set');
*/
var fightBox = $('<div>').attr('id', 'fight').appendTo(desc);
// Draw the wanderer
@@ -496,7 +498,7 @@ var Events = {
},
enemyAttack: function() {
Events.togglePause($('#pause'),'auto');
// Events.togglePause($('#pause'),'auto');
var scene = Events.activeEvent().scenes[Events.activeScene];