apicici / cimgui-love

LÖVE module for Dear ImGui obtained by wrapping cimgui with LuaJIT FFI.
MIT License
76 stars 6 forks source link

UI is broken under highdpi mode #9

Closed zhengying closed 2 years ago

zhengying commented 2 years ago

on macOS, when t.window.highdpi = true UI is broken.

Screen Shot 2022-07-28 at 8 39 44 PM
apicici commented 2 years ago

I have tested highdpi mode on Linux without problems. Does this happen if you run the test file (the Lua code in the README)? If not, could you send me the code you are using in your test so I can try it?

zhengying commented 2 years ago

Sorry! I downloaded the old example on the love2d forum, I just tried the new release library, and It's working well. cimage-love is an excellent library, thanks for your hard work!

apicici commented 2 years ago

Great! I have changed a lot of stuff since that first release, including highdpi related things. I'm glad you like the library!