app/html/settings/accessibility.jsView |
---|
14 | 14 … | 'app.html.settings': accessibility |
15 | 15 … | }) |
16 | 16 … | |
17 | 17 … | function accessibility () { |
18 | | - const invert = api.settings.obs.get('patchbay.accessibility.invert', false) |
19 | | - const saturation = api.settings.obs.get('patchbay.accessibility.saturation', 100) |
20 | | - const brightness = api.settings.obs.get('patchbay.accessibility.brightness', 100) |
21 | | - const contrast = api.settings.obs.get('patchbay.accessibility.contrast', 100) |
| 18 … | + const invert = api.settings.obs.get('patchbay.accessibility.invert') |
| 19 … | + const saturation = api.settings.obs.get('patchbay.accessibility.saturation') |
| 20 … | + const brightness = api.settings.obs.get('patchbay.accessibility.brightness') |
| 21 … | + const contrast = api.settings.obs.get('patchbay.accessibility.contrast') |
22 | 22 … | |
23 | | - invert(console.log) |
24 | | - |
25 | 23 … | return { |
26 | 24 … | title: 'Accessibility', |
27 | 25 … | body: h('AccessibilityStyles', [ |
28 | 26 … | h('div', { 'ev-click': () => invert.set(!invert()) }, [ |
44 | 42 … | ]) |
45 | 43 … | } |
46 | 44 … | } |
47 | 45 … | } |
48 | | - |