mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
UI fixes
This commit is contained in:
@@ -17,8 +17,11 @@
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.app {
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.app {
|
||||
/* same as ace editor */
|
||||
font-family: Monaco, Menlo, "Ubuntu Mono", Consolas, source-code-pro, monospace;
|
||||
}
|
||||
|
||||
@@ -111,10 +111,10 @@ export class UI {
|
||||
))
|
||||
)
|
||||
|
||||
this.root.addEventListener('keydown', () => this.clear_status(), true)
|
||||
this.root.addEventListener('click', () => this.clear_status(), true)
|
||||
window.addEventListener('keydown', () => this.clear_status(), true)
|
||||
window.addEventListener('click', () => this.clear_status(), true)
|
||||
|
||||
this.root.addEventListener('keydown', e => {
|
||||
window.addEventListener('keydown', e => {
|
||||
if(e.key == 'F2') {
|
||||
this.set_active_tab('calltree')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user