From 234d0d13c767786393494810526a77d3d89b0e83 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 30 Jan 2020 17:01:56 +0100 Subject: viewer: global keypress componant. ESC gets out of fullscreen. --- viewer/src/components/LdKeyPress.vue | 49 ++++++++++++++++++++++++++++++++++++ viewer/src/views/MainLayout.vue | 1 + 2 files changed, 50 insertions(+) create mode 100644 viewer/src/components/LdKeyPress.vue (limited to 'viewer') diff --git a/viewer/src/components/LdKeyPress.vue b/viewer/src/components/LdKeyPress.vue new file mode 100644 index 0000000..8276607 --- /dev/null +++ b/viewer/src/components/LdKeyPress.vue @@ -0,0 +1,49 @@ + + + \ No newline at end of file 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 @@ + -- cgit v1.2.3