From 9a1b5d35ee2d15e40d60321cd04d8b9b83c9538f Mon Sep 17 00:00:00 2001 From: Juraj Michalek Date: Wed, 30 Dec 2015 17:17:47 +0100 Subject: [PATCH] correction of button dimensions for different font --- js/app/game-state.js | 2 +- js/app/info-state.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app/game-state.js b/js/app/game-state.js index 39aa7b2..84afbdd 100644 --- a/js/app/game-state.js +++ b/js/app/game-state.js @@ -344,7 +344,7 @@ state.displayCongratulation = function() { var messageWidth = 100; if (this.game.levelIndex == 12) { message = "PF 2016"; - messageWidth = 124; + messageWidth = 134; } var messageBox = new Kiwi.Plugins.Primitives.Rectangle( { diff --git a/js/app/info-state.js b/js/app/info-state.js index a976ece..9d4f904 100644 --- a/js/app/info-state.js +++ b/js/app/info-state.js @@ -6,7 +6,7 @@ infoState.create = function() { y: 72, alpha: 0.5, state: this, - width: 460, + width: 470, height: 300, color: '189608', strokeColor: 'fbd712',