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