talonvoice / beta

Issue tracker for the private Talon Beta
10 stars 0 forks source link

imgui DPI weirdness on macOS #50

Closed toomanybananas closed 3 years ago

toomanybananas commented 4 years ago

I have a retina MBP (running Catalina 10.15.4) and a 27 inch, 1080p monitor (low DPI). When attempting to create an imgui window with @imgui.open(x=2000, y=800, w=300, h=300) the window shows up, but the DPI is wrong (font shows up tiny and blurry). Furthermore, the area directly around the window is not clickable, like the click handler thinks the window is bigger but the renderer does not.

toomanybananas commented 4 years ago

I managed to fix this by setting my 27 inch monitor as the main monitor in macOS. I'm not sure if that dpi issue will come back on my retina display but I'm happy having all my windows on one display

lunixbochs commented 3 years ago

fixed in v0.1.1