Fix: some bugs
This commit is contained in:
@@ -14,8 +14,7 @@ class MenuTypingPractice {
|
||||
|
||||
// top
|
||||
let backButton = new BackButton( () => {
|
||||
sessionStorageManager.clear();
|
||||
location.href = '../../web/client/login.html';
|
||||
location.href = '../../web/client/menu_app.html';
|
||||
});
|
||||
let fullscreenButton = new FullscreenButton(this.game);
|
||||
|
||||
@@ -55,7 +54,8 @@ class MenuTypingPractice {
|
||||
let activeApp = replyJSON[i];
|
||||
if(self.isMouseApp(activeApp)) {
|
||||
mouseAppIndex++;
|
||||
new AppButton(startX + 150 * mouseAppIndex, 300, AppButton.TYPE_MOUSE, activeApp.AppName,
|
||||
new AppButton(startX + 150 * mouseAppIndex, 300, AppButton.TYPE_MOUSE,
|
||||
AppButton.NONE_ICON, "양손 기본",
|
||||
() => {
|
||||
sessionStorageManager.playingAppID = activeApp.AppID;
|
||||
sessionStorageManager.playingAppName = activeApp.AppName;
|
||||
@@ -66,7 +66,8 @@ class MenuTypingPractice {
|
||||
}
|
||||
|
||||
if(typingAppCount > 0) {
|
||||
new AppButton(game.world.width / 2, 500, AppButton.TYPE_TYPING, "icon_fullscreen",
|
||||
new AppButton(game.world.width / 2, 500, AppButton.TYPE_TYPING,
|
||||
AppButton.NONE_ICON, "검지 글쇠",
|
||||
() => {
|
||||
location.href = '../../web/client/menu_typing_app.html';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user