mirror of
https://github.com/ankitects/anki.git
synced 2026-01-07 02:53:54 -05:00
Added: More menu "todo" style
This commit is contained in:
parent
ad80e0e6bf
commit
e1ce4264d9
1 changed files with 10 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
];
|
||||
|
||||
function todo() {
|
||||
alert("Not Yet Implemented");
|
||||
alert("Not yet implemented in new reviewer.");
|
||||
}
|
||||
|
||||
const shortcuts = [
|
||||
|
|
@ -113,9 +113,15 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
</MoreSubmenu>
|
||||
</div>
|
||||
{#each shortcuts as shortcut}
|
||||
<MoreItem shortcut={shortcut.shortcut} on:click={shortcut.onClick}>
|
||||
{shortcut.name}
|
||||
</MoreItem>
|
||||
<div
|
||||
style:background-color={shortcut.onClick == todo
|
||||
? "RGBA(255,0,0,0.25)"
|
||||
: ""}
|
||||
>
|
||||
<MoreItem shortcut={shortcut.shortcut} on:click={shortcut.onClick}>
|
||||
{shortcut.name}
|
||||
</MoreItem>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
</MoreSubmenu>
|
||||
|
|
|
|||
Loading…
Reference in a new issue