mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
feat(ui): render the Display panel's detection controls from the store
This commit is contained in:
1 parent
343bdebe98
commit
c99c0e8000
12 files changed
+273
-299
No files matched your search
@@ -145,11 +145,11 @@ test('optional controls are absent safely and subscriptions stay instance-owned'
|
||||
const a = element();
|
||||
const b = element();
|
||||
const one = bindDisplayControls({
|
||||
elements: { fadeSliders: [null, a] },
|
||||
actions: { setFade: () => calls.push('a') },
|
||||
elements: { fadeSlider: null, outsideOpacitySlider: a },
|
||||
actions: { setOutsideOpacity: () => calls.push('a') },
|
||||
});
|
||||
const two = bindDisplayControls({
|
||||
elements: { fadeSliders: [b] },
|
||||
elements: { fadeSlider: b },
|
||||
actions: { setFade: () => calls.push('b') },
|
||||
});
|
||||
one.destroy();
|
||||
|
||||
Reference in new issue
Block a user