mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 20:14:42 +00:00
replace DomRect = null with new DomRect() in vTooltip
This commit is contained in:
1 parent
09453fc419
commit
8fe99a9b44
1 file changed
+1
-1
@@ -7,7 +7,7 @@ let store: any;
|
|||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const virtualEl = {
|
const virtualEl = {
|
||||||
getBoundingClientRect: () => null,
|
getBoundingClientRect: () => new DOMRect(),
|
||||||
} as VirtualElement;
|
} as VirtualElement;
|
||||||
|
|
||||||
const getTooltip = () => document.getElementById("tooltip") as HTMLElement;
|
const getTooltip = () => document.getElementById("tooltip") as HTMLElement;
|
||||||
|
|||||||
Reference in new issue
Block a user