From f04cb69726efef1ef72df6e33ebfd1946116170f Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sat, 23 Apr 2022 14:48:25 -0500 Subject: [PATCH] Show pin on pinned tooltips --- src/data/themes.ts | 4 +++- src/features/tooltips/Tooltip.vue | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/data/themes.ts b/src/data/themes.ts index 37b563f..148114e 100644 --- a/src/data/themes.ts +++ b/src/data/themes.ts @@ -23,6 +23,7 @@ export interface Theme { variables: ThemeVars; floatingTabs: boolean; mergeAdjacent: boolean; + showPin: boolean; } declare module "@vue/runtime-dom" { @@ -53,7 +54,8 @@ const defaultTheme: Theme = { "--feature-margin": "0px" }, floatingTabs: true, - mergeAdjacent: true + mergeAdjacent: true, + showPin: true }; export enum Themes { diff --git a/src/features/tooltips/Tooltip.vue b/src/features/tooltips/Tooltip.vue index 68f946f..133c139 100644 --- a/src/features/tooltips/Tooltip.vue +++ b/src/features/tooltips/Tooltip.vue @@ -24,6 +24,7 @@ '--yoffset': unref(yoffset) || '0px' }" > + push_pin @@ -31,8 +32,10 @@