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
} 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<T extends TooltipOptions>(
},
display,
classes,
style,
style: unref(style),
direction,
xoffset,
yoffset,