To recalculate the layout on the 2nd frame, we use this _frame_count as of now as a workaround.
Ideally it should be done in better way using dirty flags to check whether the layout needs a recalculation and that should handle this once we have a proper layout system integrated.
Originally posted by @ganimtron-10 in #1052 (comment)
To recalculate the layout on the 2nd frame, we use this
_frame_countas of now as a workaround.Ideally it should be done in better way using dirty flags to check whether the layout needs a recalculation and that should handle this once we have a proper layout system integrated.
Originally posted by @ganimtron-10 in #1052 (comment)