Fix: revise ChocoButton

This commit is contained in:
2019-07-23 19:06:31 +09:00
parent db2d920589
commit 5a44ab93da
2 changed files with 114 additions and 100 deletions
+2 -5
View File
@@ -178,16 +178,13 @@ MainMenu.prototype.makeAppGroupButtons = function() {
}
MainMenu.prototype.makeQuitButton = function() {
var setting = new ChocoButtonSetting(1000, 40, 60, 60, 5);
var setting = new ChocoButtonSetting(980, 40, 60, 60, 5);
var quitButton = new ChocoButton(
setting, // choco button setting,
(function() {
this.back();
}).bind(this)
(function() { this.back(); }).bind(this)
);
quitButton.addIcon("tile_choco");
quitButton.setIconSize(30);
console.log(quitButton);
this.appGroupButtons.quitButton = quitButton;
}