mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Make the Data Layers finder keep Escape, its category and keyboard users
- Escape in the field closes the search alone, focus back on its button, without folding the panel or leaving the cockpit. - The category is the group's key (LayerRows' data-group), so a language change keeps it; a group that goes away clears it. - On and Off follow whether the layer is enabled, not its feed's state. - The filter is a disclosure of two groups of toggle buttons: opening it focuses the chosen option, the arrows, Home and End move, Escape closes it, and it stays inside the panel. - No layers match is translated, the search matches names only, and the rows are filtered once per frame at most. - A voice request to show a layer the finder hides clears the finder. Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
6ff0923f30
commit
919ea8d4c0
18 files changed
+207
-81
No files matched your search
@@ -22,9 +22,11 @@ defineProps({
|
||||
|
||||
<template>
|
||||
<template v-for="item in items" :key="item.key"
|
||||
><h3 v-if="item.heading" class="data-layer-group-heading">{{
|
||||
item.heading
|
||||
}}</h3
|
||||
><h3
|
||||
v-if="item.heading"
|
||||
class="data-layer-group-heading"
|
||||
:data-group="item.key"
|
||||
>{{ item.heading }}</h3
|
||||
><div
|
||||
v-else
|
||||
class="data-toggle-row"
|
||||
|
||||
Reference in new issue
Block a user