Add logo to main menu

This commit is contained in:
asraelite 2018-03-02 19:37:24 +00:00
parent cfe9c55c9a
commit 435b24cb6a
15 changed files with 135 additions and 40 deletions

View file

@ -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) {