Fix: revise ChocoButton
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user