summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkLaunchPad.vue
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-08-28 11:15:17 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-08-28 11:15:17 +0900
commit3e2441998107d37f9d0f683430c5dedd4c5cd0b5 (patch)
treee3233f6d16d53a08bf4e9e301a39a23a8ef4b92f /packages/frontend/src/components/MkLaunchPad.vue
parentbuild-misskey-js-with-types (#16470) (diff)
downloadmisskey-3e2441998107d37f9d0f683430c5dedd4c5cd0b5.tar.gz
misskey-3e2441998107d37f9d0f683430c5dedd4c5cd0b5.tar.bz2
misskey-3e2441998107d37f9d0f683430c5dedd4c5cd0b5.zip
refactor
Diffstat (limited to 'packages/frontend/src/components/MkLaunchPad.vue')
-rw-r--r--packages/frontend/src/components/MkLaunchPad.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkLaunchPad.vue b/packages/frontend/src/components/MkLaunchPad.vue
index 584afff55c..d8725ade0b 100644
--- a/packages/frontend/src/components/MkLaunchPad.vue
+++ b/packages/frontend/src/components/MkLaunchPad.vue
@@ -34,9 +34,10 @@ import { deviceKind } from '@/utility/device-kind.js';
import { prefer } from '@/preferences.js';
const props = withDefaults(defineProps<{
- anchorElement?: HTMLElement;
+ anchorElement?: HTMLElement | null;
anchor?: { x: string; y: string; };
}>(), {
+ anchorElement: null,
anchor: () => ({ x: 'right', y: 'center' }),
});