mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
fix(popover): round coords remove blurred popovers
This commit is contained in:
parent
ee8c1dc968
commit
2227ee758a
@ -23,7 +23,7 @@ async function mouseEnterHandler(
|
|||||||
middleware: [inline({ x: clientX, y: clientY }), shift(), flip()],
|
middleware: [inline({ x: clientX, y: clientY }), shift(), flip()],
|
||||||
})
|
})
|
||||||
Object.assign(popoverElement.style, {
|
Object.assign(popoverElement.style, {
|
||||||
transform: `translate(${x}px, ${y}px)`,
|
transform: `translate(${x.toFixed()}px, ${y.toFixed()}px)`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user