Fix style attribute not working on tooltips

This commit is contained in:
thepaperpilot 2022-04-24 15:49:39 -05:00
parent f70273425e
commit eb06435821

View file

@ -15,7 +15,7 @@ import {
ProcessedComputable ProcessedComputable
} from "util/computed"; } from "util/computed";
import { VueFeature } from "util/vue"; import { VueFeature } from "util/vue";
import { Ref } from "vue"; import { Ref, unref } from "vue";
import { persistent } from "game/persistence"; import { persistent } from "game/persistence";
declare module "@vue/runtime-dom" { declare module "@vue/runtime-dom" {
@ -105,7 +105,7 @@ export function addTooltip<T extends TooltipOptions>(
}, },
display, display,
classes, classes,
style, style: unref(style),
direction, direction,
xoffset, xoffset,
yoffset, yoffset,