From eb064358213b96a050720379d31980a6cfe09692 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 24 Apr 2022 15:49:39 -0500 Subject: [PATCH] Fix style attribute not working on tooltips --- src/features/tooltips/tooltip.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/tooltips/tooltip.ts b/src/features/tooltips/tooltip.ts index ad8cf65..42e13de 100644 --- a/src/features/tooltips/tooltip.ts +++ b/src/features/tooltips/tooltip.ts @@ -15,7 +15,7 @@ import { ProcessedComputable } from "util/computed"; import { VueFeature } from "util/vue"; -import { Ref } from "vue"; +import { Ref, unref } from "vue"; import { persistent } from "game/persistence"; declare module "@vue/runtime-dom" { @@ -105,7 +105,7 @@ export function addTooltip( }, display, classes, - style, + style: unref(style), direction, xoffset, yoffset,