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
State field are now private, use get() to get the current state
UI
Flatten UI Style properties that use Size + remove Size
The size, min_size, max_size, and gap properties have been replaced by the width, height, min_width, min_height, max_width, max_height, row_gap, and column_gap properties. Use the new properties instead.
Val::Undefined has been removed. Bevy UI’s behaviour with default values should remain the same.
The default values of UiRect’s fields have been changed to Val::Px(0.). Style’s position field has been removed. Its left, right, top and bottom fields have been added to Style directly.
For the size, margin, border, and padding fields of Style, Val::Undefined should be replaced with Val::Px(0.).
For the min_size, max_size, left, right, top and bottom fields of Style, Val::Undefined should be replaced with Val::Auto
replace Overflow::Hidden by Overflow::clip_y()
..Style::DEFAULT cannot longer be used in const:
I choose Style Constant instead of Style Method for the migration (see the 0.6.1 changelog)