Open nokola opened 8 months ago
Does this only happen for you on the web, or also on desktop?
Web only
I can see a high DPI issue on Windows now.
150% DPI offsets the egui window incorrectly. It's supposed to be centered below:
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
Expected: blood under "f" Actual: blood offset lower right![image](https://github.com/darthdeus/comfy/assets/6869225/a1206889-6281-4782-a45e-240351051582)
Note: this breaks UI interaction like button clicks as well due to mouse pos issues.