Fix: chagne animal record list color
This commit is contained in:
@@ -12,7 +12,7 @@ function AnimalRecordList() {
|
|||||||
this.activeAnimalIndex = 0;
|
this.activeAnimalIndex = 0;
|
||||||
|
|
||||||
game.add.graphics()
|
game.add.graphics()
|
||||||
.beginFill(AppAreaBG.COLOR_MOUSE_APP, 1)
|
.beginFill(AnimalRecordList.COLOR_BG, 1)
|
||||||
.drawRect(
|
.drawRect(
|
||||||
0, ScreenTopUI.BG_HEIGHT,
|
0, ScreenTopUI.BG_HEIGHT,
|
||||||
game.world.width, 80
|
game.world.width, 80
|
||||||
@@ -54,6 +54,7 @@ AnimalRecordList.prototype.printScore = function(type) {
|
|||||||
typingCount, titleTextStyle
|
typingCount, titleTextStyle
|
||||||
);
|
);
|
||||||
recordText.anchor.set(0.5);
|
recordText.anchor.set(0.5);
|
||||||
|
recordText.addColor(AnimalRecordList.COLOR_SCORE_DEFAULT_TEXT, 0);
|
||||||
recordText.stroke = "#333";
|
recordText.stroke = "#333";
|
||||||
recordText.strokeThickness = 3;
|
recordText.strokeThickness = 3;
|
||||||
recordText.setShadow(1, 1, 'rgba(0, 0, 0, 0.5)', 2);
|
recordText.setShadow(1, 1, 'rgba(0, 0, 0, 0.5)', 2);
|
||||||
@@ -98,3 +99,7 @@ AnimalRecordList.ALPHA_INACTIVE = 0.3;
|
|||||||
|
|
||||||
AnimalRecordList.TYPE_PRACTICE = 0;
|
AnimalRecordList.TYPE_PRACTICE = 0;
|
||||||
AnimalRecordList.TYPE_TEST = 1;
|
AnimalRecordList.TYPE_TEST = 1;
|
||||||
|
|
||||||
|
AnimalRecordList.COLOR_BG = 0x77aadd; //0x99ccff;
|
||||||
|
AnimalRecordList.COLOR_SCORE_DEFAULT_TEXT = "#bbddff";
|
||||||
|
AnimalRecordList.COLOR_SCORE_CLEARED_TEXT = "#ffffff";
|
||||||
Reference in New Issue
Block a user