mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 04:44:30 +08:00
Account for DPI
This commit is contained in:
parent
f891eb9e0f
commit
a265879af0
@ -247,7 +247,7 @@ const create_documentation_stylesheet = () => {
|
||||
const transform = new DOMMatrix()
|
||||
.scaleSelf(scaleX, scaleY)
|
||||
.multiplySelf(ctx.getTransform())
|
||||
.translateSelf(this.size[0] * scaleX, 0)
|
||||
.translateSelf(this.size[0] * scaleX * window.devicePixelRatio, 0)
|
||||
.translateSelf(10, -32)
|
||||
|
||||
const scale = new DOMMatrix()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user