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

fix remaining issues with background color in examples #14115

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

mockersf
Copy link
Member

@mockersf mockersf commented Jul 2, 2024

Objective

Solution

  • Switching the uses of UiImage in examples to BackgroundColor when needed

@mockersf mockersf added C-Examples An addition or correction to our examples A-UI Graphical user interfaces, styles, layouts, and widgets labels Jul 2, 2024
@mockersf mockersf added this to the 0.14 milestone Jul 2, 2024
@mockersf mockersf requested a review from alice-i-cecile July 2, 2024 22:15
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jul 3, 2024
Merged via the queue into bevyengine:main with commit 160bcc7 Jul 3, 2024
30 checks passed
mockersf added a commit that referenced this pull request Jul 3, 2024
# Objective

- Fixes #14097

## Solution

- Switching the uses of `UiImage` in examples to `BackgroundColor` when
needed
Copy link
Contributor

Choose a reason for hiding this comment

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

@mockersf @alice-i-cecile This seems incorrect, In those examples I used to tint the image color, not the square background color

Screenshot 2024-07-03 at 09 51 31

Copy link
Contributor

Choose a reason for hiding this comment

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

Same here

rparrett added a commit to rparrett/bevy that referenced this pull request Jul 3, 2024
…les (bevyengine#14115)"

This partially reverts commit 160bcc7.

Two examples: `ui_texture_slice` and `ui_texture_atlas_slice` were working as
intended.
github-merge-queue bot pushed a commit that referenced this pull request Jul 3, 2024
…xamples. (#14121)

# Objective

Fixes #14120

`ui_texture_slice` and `ui_texture_atlas_slice` were working as
intended, so undo the changes.

## Solution

Partially revert #14115 for
`ui_texture_slice` and `ui_texture_atlas_slice`.

## Testing

Ran those two examples, confirmed the border color is the thing that
changes when buttons are hovered.
mockersf pushed a commit that referenced this pull request Jul 3, 2024
…xamples. (#14121)

# Objective

Fixes #14120

`ui_texture_slice` and `ui_texture_atlas_slice` were working as
intended, so undo the changes.

## Solution

Partially revert #14115 for
`ui_texture_slice` and `ui_texture_atlas_slice`.

## Testing

Ran those two examples, confirmed the border color is the thing that
changes when buttons are hovered.
zmbush pushed a commit to zmbush/bevy that referenced this pull request Jul 3, 2024
)

# Objective

- Fixes bevyengine#14097

## Solution

- Switching the uses of `UiImage` in examples to `BackgroundColor` when
needed
zmbush pushed a commit to zmbush/bevy that referenced this pull request Jul 3, 2024
…xamples. (bevyengine#14121)

# Objective

Fixes bevyengine#14120

`ui_texture_slice` and `ui_texture_atlas_slice` were working as
intended, so undo the changes.

## Solution

Partially revert bevyengine#14115 for
`ui_texture_slice` and `ui_texture_atlas_slice`.

## Testing

Ran those two examples, confirmed the border color is the thing that
changes when buttons are hovered.
MrGVSV pushed a commit to MrGVSV/bevy that referenced this pull request Jul 5, 2024
)

# Objective

- Fixes bevyengine#14097

## Solution

- Switching the uses of `UiImage` in examples to `BackgroundColor` when
needed
MrGVSV pushed a commit to MrGVSV/bevy that referenced this pull request Jul 5, 2024
…xamples. (bevyengine#14121)

# Objective

Fixes bevyengine#14120

`ui_texture_slice` and `ui_texture_atlas_slice` were working as
intended, so undo the changes.

## Solution

Partially revert bevyengine#14115 for
`ui_texture_slice` and `ui_texture_atlas_slice`.

## Testing

Ran those two examples, confirmed the border color is the thing that
changes when buttons are hovered.
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some examples incorrectly use the Image color rather than background color
3 participants