mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
The Display panel, the dock's style buttons and the clean-view exit call the display store's actions, and DisplayBindings connects their handlers to it, replacing the bindDisplayControls listeners. The detection allocation and 3D model coverage choices render through a new kit UiSegmented, which takes v-model, options, label, stacked and disabled, and adds a keyboard policy, item classes and per-option attributes. Shell element fields and facade accessors that only the old listeners read are removed. The package boundaries now own UiSegmented and the UiPanel kit files, and the format scope drops the deleted test.
12 lines
361 B
Vue
12 lines
361 B
Vue
<script setup>
|
|
import { useDisplayStore } from '../stores/display.js';
|
|
import DisplayPanel from './panels/DisplayPanel.vue';
|
|
|
|
const display = useDisplayStore();
|
|
</script>
|
|
|
|
<template>
|
|
<DisplayPanel />
|
|
<button id="clean-view-exit" @click="display.act('exitCleanView')" title="Return UI controls" data-i18n-title data-i18n>EXIT CLEAN VIEW</button>
|
|
</template>
|