diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-12-12 10:26:37 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-12-12 10:26:37 +0900 |
| commit | b691126bff96aa9a15e0b66381ea734e34ef4531 (patch) | |
| tree | 3428f80cffd2cd60ea9a3567e22d8f35cf87f7e6 /packages/frontend/src/os.ts | |
| parent | Fix trailing commas (#12628) (diff) | |
| download | misskey-b691126bff96aa9a15e0b66381ea734e34ef4531.tar.gz misskey-b691126bff96aa9a15e0b66381ea734e34ef4531.tar.bz2 misskey-b691126bff96aa9a15e0b66381ea734e34ef4531.zip | |
refactor(frontend): menuのdividerをnullで表現するのをやめる
Diffstat (limited to 'packages/frontend/src/os.ts')
| -rw-r--r-- | packages/frontend/src/os.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index 8aed5797e1..57f705a726 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -546,7 +546,7 @@ export async function openEmojiPicker(src?: HTMLElement, opts, initialTextarea: }); } -export function popupMenu(items: MenuItem[] | Ref<MenuItem[]>, src?: HTMLElement, options?: { +export function popupMenu(items: MenuItem[] | Ref<MenuItem[]>, src?: HTMLElement | null, options?: { align?: string; width?: number; viaKeyboard?: boolean; |