mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 18:34:02 +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.
11 lines
398 B
JavaScript
11 lines
398 B
JavaScript
/**
|
|
* Keep a native Scope checkbox and feather availability in step with the
|
|
* mask. The Display view renders both from VisualSettings now; this stays
|
|
* exported from `./ui/display` for hosts that imported it.
|
|
* @deprecated
|
|
*/
|
|
export function syncScopeControls(toggle, featherSlider, enabled) {
|
|
if (toggle) toggle.checked = enabled;
|
|
if (featherSlider) featherSlider.disabled = !enabled;
|
|
}
|