mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-24 13:22:29 +08:00
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:
+3
-1
@@ -78,6 +78,7 @@ var Events = {
|
|||||||
$('<div>').text(scene.notification).appendTo(desc);
|
$('<div>').text(scene.notification).appendTo(desc);
|
||||||
|
|
||||||
// Draw pause button
|
// Draw pause button
|
||||||
|
/* Disable for now, because it doesn't work and looks weird
|
||||||
var pauseBox = $('<div>').attr('id', 'pauseButton').appendTo(desc);
|
var pauseBox = $('<div>').attr('id', 'pauseButton').appendTo(desc);
|
||||||
var pause = new Button.Button({
|
var pause = new Button.Button({
|
||||||
id: 'pause',
|
id: 'pause',
|
||||||
@@ -89,6 +90,7 @@ var Events = {
|
|||||||
$('<div>').addClass('clear').appendTo(pauseBox);
|
$('<div>').addClass('clear').appendTo(pauseBox);
|
||||||
Events.setPause(pause, 'set');
|
Events.setPause(pause, 'set');
|
||||||
Events.removePause(pause, 'set');
|
Events.removePause(pause, 'set');
|
||||||
|
*/
|
||||||
|
|
||||||
var fightBox = $('<div>').attr('id', 'fight').appendTo(desc);
|
var fightBox = $('<div>').attr('id', 'fight').appendTo(desc);
|
||||||
// Draw the wanderer
|
// Draw the wanderer
|
||||||
@@ -496,7 +498,7 @@ var Events = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
enemyAttack: function() {
|
enemyAttack: function() {
|
||||||
Events.togglePause($('#pause'),'auto');
|
// Events.togglePause($('#pause'),'auto');
|
||||||
|
|
||||||
var scene = Events.activeEvent().scenes[Events.activeScene];
|
var scene = Events.activeEvent().scenes[Events.activeScene];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user