From ccea04f39177ee3cbec47b539a9b101ce344e17c Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 5 Jul 2022 16:07:53 +0900 Subject: [PATCH] chore(client): tweak deck --- packages/client/src/directives/tooltip.ts | 1 + packages/client/src/ui/deck.vue | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/client/src/directives/tooltip.ts b/packages/client/src/directives/tooltip.ts index 588bbca3a..e1b85291b 100644 --- a/packages/client/src/directives/tooltip.ts +++ b/packages/client/src/directives/tooltip.ts @@ -49,6 +49,7 @@ export default { showing, text: self.text, asMfm: binding.modifiers.mfm, + direction: binding.modifiers.left ? 'left' : binding.modifiers.right ? 'right' : binding.modifiers.top ? 'top' : binding.modifiers.bottom ? 'bottom' : 'top', targetElement: el, }, {}, 'closed'); diff --git a/packages/client/src/ui/deck.vue b/packages/client/src/ui/deck.vue index 7cdc96cce..19a99a95a 100644 --- a/packages/client/src/ui/deck.vue +++ b/packages/client/src/ui/deck.vue @@ -33,7 +33,8 @@
{{ i18n.ts._deck.introduction2 }}
- + +
@@ -110,6 +111,10 @@ const menuIndicated = computed(() => { return false; }); +function showSettings() { + os.pageWindow('/settings/deck'); +} + let columnsEl = $ref(); const addColumn = async (ev) => {