diff --git a/src/store.js b/src/store.js index 66e8e85..2269af5 100644 --- a/src/store.js +++ b/src/store.js @@ -44,7 +44,8 @@ const Reselect =(inState, inTest)=> if(plot.Hz == hz) { output.Freq = plot; - output.Mark = plot[`User${inState.Chan.Value ? "R" : "L"}`]; + output.Mark = inState.Chan.Value ? plot.UserR : plot.UserL; + break; } } } diff --git a/src/twind.js b/src/twind.js index 6cbbdf2..84be560 100644 --- a/src/twind.js +++ b/src/twind.js @@ -71,7 +71,7 @@ export const Configure = { } ], [ - 'text-shadow-lcd', {"text-shadow": "0px 2px 2px #00000055"} + 'text-shadow-lcd', {"text-shadow": "0px 1px 1px #00000055"} ], [ 'box-notch', "border-t(1 [#ffffff]) border-r(1 [#ffffff]) border-b(1 [#00000033]) border-l(1 [#00000033]) flex items-center justify-end gap-1 p-2" ], [ "box-buttons", "flex gap-1 items-center p-2 rounded-lg bg-gradient-to-b from-[#00000022] border-b(1 [#ffffff]) border-t(1 [#00000033])"] diff --git a/src/ui.js b/src/ui.js index 24d43f2..0273993 100644 --- a/src/ui.js +++ b/src/ui.js @@ -274,6 +274,7 @@ export const Audiogram =()=> }`; }; + /** @type {BasicElement} */ export function Chart({children}) { @@ -308,7 +309,7 @@ export function Chart({children})