mirror of
https://github.com/ankitects/anki.git
synced 2026-01-10 12:33:55 -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() {
|
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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue