Skip to content

fix example grid#8940

Merged
alice-i-cecile merged 2 commits intobevyengine:mainfrom
ThierryBerger:fix-example-grid
Jun 23, 2023
Merged

fix example grid#8940
alice-i-cecile merged 2 commits intobevyengine:mainfrom
ThierryBerger:fix-example-grid

Conversation

@ThierryBerger
Copy link
Member

Style flattened size, min_size and max_size to its root struct, causing compilation errors.

I uncommented the code to avoid further silent error not caught by CI, but hid the view to keep the same behaviour.

`Style` flattened `size`, `min_size` and `max_size` to its root struct,
causing compilation errors.
I uncommented the code to avoid further silent error not caught by CI, but hid the view to keep the same behaviour.
@ThierryBerger ThierryBerger added C-Examples An addition or correction to our examples C-Docs An addition or correction to our documentation A-UI Graphical user interfaces, styles, layouts, and widgets and removed C-Docs An addition or correction to our documentation labels Jun 23, 2023
less confusing wording
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good fix! Great example of the dangers of commented out code.

@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Jun 23, 2023
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jun 23, 2023
Merged via the queue into bevyengine:main with commit 469a19c Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-UI Graphical user interfaces, styles, layouts, and widgets C-Examples An addition or correction to our examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants