mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
feat(kit): render the sliders with UiSlider
UiSlider takes v-model, min, max, step and disabled over Core's native range input, emits numbers, and with `hold` never rewrites a focused handle and takes the model back on blur. It is a functional render function, so the portable style parameter rows use it too. The Display, Radio, RTL-SDR, Cockpit, mission replay and style parameter sliders render with it; server-rendered markup keeps their default values.
This commit is contained in:
1 parent
fa2dc9fc87
commit
5019bd9e8a
18 files changed
+241
-50
No files matched your search
@@ -111,7 +111,7 @@ test('before the layer presents, the roster loads and no mission shows', (t) =>
|
||||
);
|
||||
assert.equal($('#space-mission-panel').hidden, true);
|
||||
assert.equal($('[data-mission-replay-speed-output]').textContent, '1×');
|
||||
assert.equal($('[data-mission-replay-speed]').getAttribute('value'), '1');
|
||||
assert.equal($('[data-mission-replay-speed]').value, '1');
|
||||
});
|
||||
|
||||
test('the roster lists missions and drives selection and preview', async (t) => {
|
||||
@@ -316,7 +316,7 @@ test('the replay controls follow the layer and call its commands', async (t) =>
|
||||
['replay'],
|
||||
['toggle'],
|
||||
['cancel'],
|
||||
['speed', '3'],
|
||||
['speed', 3],
|
||||
['focus'],
|
||||
['previous'],
|
||||
['next'],
|
||||
|
||||
Reference in new issue
Block a user