mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Fix typo in resolve_outlines_system (#10730)
# Objective Resolves #10727. `outline.width` was being assigned to `node.outline_offset` instead of `outline.offset`. ## Solution Changed `.width` to `.offset` in line 413.
This commit is contained in:
parent
d5b891ea73
commit
5c3c8e7189
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ pub fn resolve_outlines_system(
|
|||
.max(0.);
|
||||
|
||||
node.outline_offset = outline
|
||||
.width
|
||||
.offset
|
||||
.resolve(node.size().x, viewport_size)
|
||||
.unwrap_or(0.)
|
||||
.max(0.);
|
||||
|
|
Loading…
Reference in a new issue