You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
well, actually that's not specifically emscripten-related! same behaviour on native macOS.
the imgui panel behaviour is interesting, but relies on the fact that most areas of the imgui panel are going to drag the whole thing; ofxPanel only the top bar drags the thing (minus the preset buttons zone).
what would be the expected behaviour?
perhaps the behaviour should be "elastic"? one may drag the window completely out (as currently) for whatever reason, ex: inspecting what's under, but upon release, if the top bar is out of window rect, the panel pops back at the edge of the window to reveal a chunk of the bar? or maybe it's too complicated and just impose a limit like imgui, but applicable to the top bar at all times.
(that will not prevent someone from moving a panel to the extreme right, then making the window smaller thus hiding the panel, but at that point I guess the person would have "asked for it"? in any case it's recoverable by re-growing the window.)
With Emscripten it is possible to drag
ofxGui
elements out of the window. Only a restart of the page makes it possible to useofxGui
again.Try here: https://nickhardeman.com/temp/OFExamples/ofxAssimpExample2/index.html
It does not happen with
ofxImGui
, and I think that would be nice forofxGui
too.Try here: https://ofximgui.handmadeproductions.de/
The text was updated successfully, but these errors were encountered: