Fix: typing test menu - button icon bug
This commit is contained in:
@@ -137,7 +137,7 @@ var MenuTypingTest = {
|
||||
animalSprite = new Animal(Animal.TYPE_ICON, 0, 0, 0);
|
||||
// animalSprite.sprite.tint = RoundRectButtonSetting.DEFAULT_BUTTON_COLORS.disabled;
|
||||
} else {
|
||||
var animalLevel = Animal.animalLevelIDByRecord(appHighestRecord, Animal.TYPE_PRACTICE);
|
||||
var animalLevel = Animal.animalLevelIDByRecord(appHighestRecord, Animal.TYPE_TEST);
|
||||
animalSprite = new Animal(Animal.TYPE_ICON, animalLevel, 0, 0);
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ var MenuTypingTest = {
|
||||
},
|
||||
|
||||
downloadListSucceeded: function(replyJSON) {
|
||||
// console.log(replyJSON);
|
||||
console.log(replyJSON);
|
||||
|
||||
var buttonWidthGap = TypingAppButton.BUTTON_WIDTH + MenuTypingTest.BUTTON_GAP;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user