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
This assertion shouldn't trigger during normal layouting, so it looks like a bug. I will take a look at it. If the layout looks right, then I don't think this particular one should cause any other issues though.
I believe I found a fix for this. This had to do with us not considering the intrinsic aspect ratio of the image used as a flex item. Let me know how it goes :)
Hi, I encountered an assertion stops interpreting the flex style, I'm not sure whether this is a bug.
Here's a minimal code snippet to reproduce the issue. Replace
Samples\tutorial\template\data\tutorial.rml
content as follow:The
rmlui_tutorial_template.exe
triggeres an assertionRMLUI_ASSERT(initial_box_size.y < 0.f);
RmlUi/Source/Core/Layout/FlexFormattingContext.cpp
Line 342 in 51af29b
Delete this line seems work.
The git node:
The text was updated successfully, but these errors were encountered: