mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-22 09:52:50 +00:00
feat: settings wip
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
import type {Chord} from "$lib/serial/chord"
|
||||
import tippy from "tippy.js"
|
||||
import {calculateChordCoverage} from "$lib/chords/coverage"
|
||||
import {SETTING_IDS} from "$lib/serial/settings"
|
||||
|
||||
$: searchIndex = $chords?.length > 0 ? buildIndex($chords) : undefined
|
||||
|
||||
@@ -45,11 +44,6 @@
|
||||
{/if}
|
||||
<button class="icon" on:click={sort}>sort</button>
|
||||
<button class="icon">filter_list</button>
|
||||
{#if $serialPort}
|
||||
{#await $serialPort.getSetting(SETTING_IDS.enableChording) then enableChording}
|
||||
<label><input type="checkbox" checked={enableChording !== 0} /> Enable Chording</label>
|
||||
{/await}
|
||||
{/if}
|
||||
|
||||
<section>
|
||||
<table>
|
||||
|
||||
Reference in New Issue
Block a user