Fix: english text bg box
This commit is contained in:
@@ -26,21 +26,12 @@ TypingContentBG.prototype.makeTestContentBG = function() {
|
|||||||
bar.beginFill(TypingContentBG.COLOR_CONTENT_BG, 1);
|
bar.beginFill(TypingContentBG.COLOR_CONTENT_BG, 1);
|
||||||
bar.drawRect(0, contentY, GAME_SCREEN_SIZE.x, 70);
|
bar.drawRect(0, contentY, GAME_SCREEN_SIZE.x, 70);
|
||||||
} else {
|
} else {
|
||||||
if(isTypingSentenceApp()) {
|
|
||||||
bar.beginFill(TypingContentBG.COLOR_CONTENT_BG, 1);
|
bar.beginFill(TypingContentBG.COLOR_CONTENT_BG, 1);
|
||||||
bar.drawRect(0, contentY, GAME_SCREEN_SIZE.x, 46);
|
bar.drawRect(0, contentY, GAME_SCREEN_SIZE.x, 20);
|
||||||
bar.beginFill(TypingContentBG.COLOR_CONTENT_ALPHABET_BG, 1);
|
bar.beginFill(TypingContentBG.COLOR_CONTENT_ALPHABET_BG, 1);
|
||||||
bar.drawRect(0, contentY + 46, GAME_SCREEN_SIZE.x, 30);
|
bar.drawRect(0, contentY + 20, GAME_SCREEN_SIZE.x, 35);
|
||||||
bar.beginFill(TypingContentBG.COLOR_CONTENT_BG, 1);
|
bar.beginFill(TypingContentBG.COLOR_CONTENT_BG, 1);
|
||||||
bar.drawRect(0, contentY + 76, GAME_SCREEN_SIZE.x, 44);
|
bar.drawRect(0, contentY + 50, GAME_SCREEN_SIZE.x, 15);
|
||||||
} else {
|
|
||||||
bar.beginFill(TypingContentBG.COLOR_CONTENT_BG, 1);
|
|
||||||
bar.drawRect(0, contentY, GAME_SCREEN_SIZE.x, 40);
|
|
||||||
bar.beginFill(TypingContentBG.COLOR_CONTENT_ALPHABET_BG, 1);
|
|
||||||
bar.drawRect(0, contentY + 40, GAME_SCREEN_SIZE.x, 50);
|
|
||||||
bar.beginFill(TypingContentBG.COLOR_CONTENT_BG, 1);
|
|
||||||
bar.drawRect(0, contentY + 90, GAME_SCREEN_SIZE.x, 30);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -66,5 +57,5 @@ TypingContentBG.COLOR_CONTENT_BG = 0x444444;
|
|||||||
TypingContentBG.COLOR_CONTENT_ALPHABET_BG = 0x3d3d3d;
|
TypingContentBG.COLOR_CONTENT_ALPHABET_BG = 0x3d3d3d;
|
||||||
|
|
||||||
TypingContentBG.POS_Y_CONTENT_BOX_TYPING_PRACTICE = 140;
|
TypingContentBG.POS_Y_CONTENT_BOX_TYPING_PRACTICE = 140;
|
||||||
TypingContentBG.POS_Y_CONTENT_BOX_TYPING_TEST = 180; // 260;
|
TypingContentBG.POS_Y_CONTENT_BOX_TYPING_TEST = 185; // 260;
|
||||||
TypingContentBG.POS_Y_CONTENT_BOX_TYPING_WHACAMOLE = 200;
|
TypingContentBG.POS_Y_CONTENT_BOX_TYPING_WHACAMOLE = 200;
|
||||||
|
|||||||
Reference in New Issue
Block a user