From 1b6473ac2756634faeb9cf564a8edb10c12a7829 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Thu, 22 Dec 2022 16:59:11 +0900 Subject: [PATCH] refactor(client): explicit `showing` property for tooltips (#9368) --- packages/client/src/components/MkChartTooltip.vue | 2 +- packages/client/src/components/MkReactionTooltip.vue | 5 +++-- packages/client/src/components/MkReactionsViewer.details.vue | 5 +++-- packages/client/src/components/MkUsersTooltip.vue | 5 +++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/packages/client/src/components/MkChartTooltip.vue b/packages/client/src/components/MkChartTooltip.vue index a92dd36b61..d36f45463c 100644 --- a/packages/client/src/components/MkChartTooltip.vue +++ b/packages/client/src/components/MkChartTooltip.vue @@ -16,7 +16,7 @@ import { } from 'vue'; import MkTooltip from './MkTooltip.vue'; -const props = defineProps<{ +defineProps<{ showing: boolean; x: number; y: number; diff --git a/packages/client/src/components/MkReactionTooltip.vue b/packages/client/src/components/MkReactionTooltip.vue index 2da97cf4f3..7777f493af 100644 --- a/packages/client/src/components/MkReactionTooltip.vue +++ b/packages/client/src/components/MkReactionTooltip.vue @@ -1,5 +1,5 @@