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:
Aldrich Suratos 2023-11-25 23:23:17 +09:00 committed by Carter Anderson
parent d5b891ea73
commit 5c3c8e7189

View file

@ -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.);