feature/layout-updates #1

Merged
SethTrowbridge merged 34 commits from feature/layout-updates into master 2023-06-07 21:12:15 -04:00
3 changed files with 5 additions and 3 deletions
Showing only changes of commit 8b217c8ce4 - Show all commits

View File

@ -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;
}
}
}

View File

@ -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])"]

View File

@ -274,6 +274,7 @@ export const Audiogram =()=>
}`;
};
/** @type {BasicElement} */
export function Chart({children})
{
@ -308,7 +309,7 @@ export function Chart({children})
</span>
</span>
<div class=${`relative top-[${inset}px] left-[${inset}px] w-[calc(100%-${inset*2}px)] h-[calc(100%-${inset*2}px)]`}>
<span class="block absolute top-0 left-[-${inset}px] w-[calc(100%+${inset*2}px)] h-[27%] bg-black opacity-10"></span>
<span class="block absolute top-0 left-[-${inset}px] w-[calc(100%+${inset*2}px)] h-[27%] bg-black opacity-5"></span>
${ rules }
<div class="absolute top-0 left-0 w-full h-full">
${ children }