MushroomRL / mushroom-rl

Python library for Reinforcement Learning.
MIT License
803 stars 145 forks source link

fix wrong window scaling on macos #122

Closed tkelestemur closed 1 year ago

tkelestemur commented 1 year ago

This fixes the wrong window scaling on MacOS platforms as explained here https://github.com/glfw/glfw/issues/2079. This has not effect on other platforms. Before the fix

wrong_scale

After the fix:

correct_scale
boris-il-forte commented 1 year ago

@carloderamo can you also test this? I'll test it on Linux and if works we will merge. Thank you very much for your contribution!

boris-il-forte commented 1 year ago

Merged, sorry for the delay...

tkelestemur commented 1 year ago

Thanks for merging it!