Skip to content

Commit

Permalink
Fix visual inconsistency in local mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Oct 16, 2023
1 parent e9debf3 commit 05a2132
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,7 @@ export class Editor {
}
this.editor_mode = "local";
this.local_index = 0;
document.getElementById('editor')!.style.height = 'calc(100% - 100px)';
this.changeToLocalBuffer(this.local_index);
changeColor(this.local_button);
break;
Expand All @@ -1164,6 +1165,7 @@ export class Editor {
this.local_script_tabs.classList.add("hidden");
}
this.editor_mode = "global";
document.getElementById('editor')!.style.height = '100%';
changeColor(this.global_button);
break;
case "init":
Expand Down

0 comments on commit 05a2132

Please sign in to comment.