mitsuba-renderer / nanogui

Minimalistic C++/Python GUI library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
Other
1.52k stars 189 forks source link

Close popup when clicking outside of popup #141

Open thradde opened 1 year ago

thradde commented 1 year ago

It is standard behavior on Windows and Linux that a popup window closes, when outside of its area is clicked. I guess on Mac OS it is the same. I changed the code so the problem is solved, and will create a pull-request.