Add logo to main menu
This commit is contained in:
parent
cfe9c55c9a
commit
435b24cb6a
15 changed files with 135 additions and 40 deletions
|
@ -7,7 +7,15 @@ export let root;
|
|||
export function init() {
|
||||
elements.clear();
|
||||
root = modules.root();
|
||||
console.log(root);
|
||||
changeView('title');
|
||||
}
|
||||
|
||||
export function changeView(view) {
|
||||
root.clear();
|
||||
|
||||
if (view == 'title') {
|
||||
root.append(modules.title());
|
||||
}
|
||||
}
|
||||
|
||||
export function measureText(msg, font) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue