From fbc91a37568a049327f6a155ef9c4be1b04ee973 Mon Sep 17 00:00:00 2001 From: Michael Townsend Date: Fri, 23 Sep 2016 11:16:08 -0400 Subject: [PATCH] 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. --- script/events.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/events.js b/script/events.js index c75a0b8..fd2d898 100644 --- a/script/events.js +++ b/script/events.js @@ -78,6 +78,7 @@ var Events = { $('
').text(scene.notification).appendTo(desc); // Draw pause button + /* Disable for now, because it doesn't work and looks weird var pauseBox = $('
').attr('id', 'pauseButton').appendTo(desc); var pause = new Button.Button({ id: 'pause', @@ -89,6 +90,7 @@ var Events = { $('
').addClass('clear').appendTo(pauseBox); Events.setPause(pause, 'set'); Events.removePause(pause, 'set'); + */ var fightBox = $('
').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];