mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
fix(ui): keep the voice highlight on layer rows
Toggle the count-line modifier with a directive that leaves other classes alone, so a re-render no longer clears gev-voice-focus.
This commit is contained in:
1 parent
231ac4b67b
commit
dc9d200725
4 files changed
+65
-4
No files matched your search
@@ -2,6 +2,7 @@
|
||||
import RailChips from '../rail/RailChips.vue';
|
||||
import RailRowList from '../rail/RailRowList.vue';
|
||||
import RowText from './RowText.vue';
|
||||
import { vClassToggle } from '../rail/classToggle.js';
|
||||
|
||||
// The data layer rows under their group headings. LayerPanel presents every
|
||||
// value; clicks reach it with the layer id, and it re-reads the live
|
||||
@@ -21,10 +22,10 @@ defineProps({
|
||||
}}</h3
|
||||
><div
|
||||
v-else
|
||||
:class="[
|
||||
'data-toggle-row',
|
||||
{ 'data-toggle-row--count-line': item.count?.countLine },
|
||||
]"
|
||||
class="data-toggle-row"
|
||||
v-class-toggle="{
|
||||
'data-toggle-row--count-line': item.count?.countLine,
|
||||
}"
|
||||
:data-layer-id="item.id"
|
||||
:data-layer-name="item.englishName"
|
||||
><div class="data-toggle-top"
|
||||
|
||||
Reference in new issue
Block a user