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
@ -410,7 +410,7 @@ pub fn resolve_outlines_system(
|
|||||||
.max(0.);
|
.max(0.);
|
||||||
|
|
||||||
node.outline_offset = outline
|
node.outline_offset = outline
|
||||||
.width
|
.offset
|
||||||
.resolve(node.size().x, viewport_size)
|
.resolve(node.size().x, viewport_size)
|
||||||
.unwrap_or(0.)
|
.unwrap_or(0.)
|
||||||
.max(0.);
|
.max(0.);
|
||||||
|
Loading…
Reference in New Issue
Block a user