diff options
author | Zero~Informatique | 2020-01-30 17:01:56 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-01-30 17:24:08 +0100 |
commit | 234d0d13c767786393494810526a77d3d89b0e83 (patch) | |
tree | ba3675395e71532d5106bb5c9e4c0a7c92069d04 /viewer/src/views | |
parent | 1a6412e17077b8ea9939edfa9cc700db0730a1c6 (diff) | |
download | ldgallery-234d0d13c767786393494810526a77d3d89b0e83.tar.gz |
viewer: global keypress componant. ESC gets out of fullscreen.
Diffstat (limited to 'viewer/src/views')
-rw-r--r-- | viewer/src/views/MainLayout.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index cedef58..f0809b6 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue | |||
@@ -23,6 +23,7 @@ | |||
23 | <panel-left v-if="!isLoading" class="layout layout-left" /> | 23 | <panel-left v-if="!isLoading" class="layout layout-left" /> |
24 | <router-view v-if="!isLoading" class="layout layout-content scrollbar" /> | 24 | <router-view v-if="!isLoading" class="layout layout-content scrollbar" /> |
25 | <b-loading :active="isLoading" is-full-page /> | 25 | <b-loading :active="isLoading" is-full-page /> |
26 | <ld-key-press :keycode="27" @action="$uiStore.fullscreen=false" /> | ||
26 | </div> | 27 | </div> |
27 | </template> | 28 | </template> |
28 | 29 | ||