[WASM, Windows] Mouse position incorrect with screen DPI 150% (UI interaction broken)
nokola opened this issue · comments
- Set monitor to 150% DPI in Windows 10
- Open https://comfyengine.org/examples/
- Click blood_canvas example
- Click letter "f"
Expected: blood under "f"
Actual: blood offset lower right
Note: this breaks UI interaction like button clicks as well due to mouse pos issues.
Does this only happen for you on the web, or also on desktop?
Web only
Windows bug should be fixed now, WASM isn't yet.
Seems this issue is fixed in WASM too but not on the website. I wonder if there's something wrong with the website that further stretches the canvas or something that causes this, but it doesn't seem to happen when running https://github.com/darthdeus/comfy/tree/master/demos/egui-scaling through wasm-server-runner