diff --git a/README.md b/README.md index a54a1f8..8f0bfe5 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,7 @@ Practice Japanese Karaoke lyrics reading and typing at the same time with KashiD 5. 纯前端存储数据 TODO: 404 page -TODO: Update an existing playlist \ No newline at end of file +TODO: Update an existing playlist + +TODO: Allow users to correct lyric pronunciations through correction feedback +TODO: Correct lyrics timing inconsistencies (i.e. 网易云的歌词因为是业余用户上传的,时间戳不一定准确。但是 waveform 里面可以分析出每句歌词的具体开始结束时间,也许可以自动修正) \ No newline at end of file diff --git a/src/components/material3/MenuItem.svelte b/src/components/material3/MenuItem.svelte index b59cfcc..9f42ee3 100644 --- a/src/components/material3/MenuItem.svelte +++ b/src/components/material3/MenuItem.svelte @@ -6,12 +6,14 @@ icon, textIcon, disabled = false, + sub, onclick, children, }: { icon?: string; textIcon?: string; disabled?: boolean; + sub?: string; onclick: () => void; children: Snippet; } = $props(); @@ -26,7 +28,12 @@ {textIcon} {/if} - {@render children()} +
+ {@render children()} + {#if sub} +
{sub}
+ {/if} +