Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup deterministic example #11416

Merged
merged 3 commits into from Jan 19, 2024

Conversation

mockersf
Copy link
Member

Objective

  • Example deterministic crashes on CI on Windows because it uses too much memory

Solution

  • Reduce the number of planes displayed while still having the issue
  • While there, add a small margin to the text so that it's prettier

@mockersf mockersf added A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples labels Jan 18, 2024
commands.spawn(TextBundle::default());
commands.spawn(TextBundle::default().with_style(Style {
position_type: PositionType::Absolute,
top: Val::Px(12.0),
Copy link
Contributor

@rparrett rparrett Jan 18, 2024

Choose a reason for hiding this comment

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

(no action required) Mildly amused that half of examples that do this use 12px and half use 10px.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll fix that someday... the officially Cart approved margin is 12px: #8478 (comment)

@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 Jan 19, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jan 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 19, 2024
@mockersf mockersf added this pull request to the merge queue Jan 19, 2024
Merged via the queue into bevyengine:main with commit a00c71e Jan 19, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen 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.

None yet

3 participants