Added: More menu "todo" style

This commit is contained in:
Luc Mcgrady 2025-11-11 12:56:34 +00:00
parent ad80e0e6bf
commit e1ce4264d9
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -24,7 +24,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
]; ];
function todo() { function todo() {
alert("Not Yet Implemented"); alert("Not yet implemented in new reviewer.");
} }
const shortcuts = [ const shortcuts = [
@ -113,9 +113,15 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</MoreSubmenu> </MoreSubmenu>
</div> </div>
{#each shortcuts as shortcut} {#each shortcuts as shortcut}
<div
style:background-color={shortcut.onClick == todo
? "RGBA(255,0,0,0.25)"
: ""}
>
<MoreItem shortcut={shortcut.shortcut} on:click={shortcut.onClick}> <MoreItem shortcut={shortcut.shortcut} on:click={shortcut.onClick}>
{shortcut.name} {shortcut.name}
</MoreItem> </MoreItem>
</div>
{/each} {/each}
</div> </div>
</MoreSubmenu> </MoreSubmenu>