diff client/src/components/App.vue @ 3553:869505c5087b

client: fairway profile: close compare view with ESC key also added a notice at the top of the screen that indicates when ESC key can be used to either cancel drawing (line, polygon, crosscut) or to close the compare split view for two sounding results
author Markus Kottlaender <markus@intevation.de>
date Fri, 31 May 2019 14:32:24 +0200
parents ec27ee21f7bc
children 6ce80daf8413
line wrap: on
line diff
--- a/client/src/components/App.vue	Fri May 31 14:29:21 2019 +0200
+++ b/client/src/components/App.vue	Fri May 31 14:32:24 2019 +0200
@@ -28,6 +28,7 @@
     <router-view />
     <vue-snotify />
     <Popup />
+    <KeyboardHandler />
   </div>
 </template>
 
@@ -104,7 +105,8 @@
     Popup: () => import("./Popup"),
     AvailableFairwayDepthDialogue: () =>
       import("./fairway/AvailableFairwayDepthDialogue.vue"),
-    MapPopup: () => import("./map/MapPopup")
+    MapPopup: () => import("./map/MapPopup"),
+    KeyboardHandler: () => import("./KeyboardHandler")
   }
 };
 </script>