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 GitHub
parent 4eafd60ce9
commit a84d8c3239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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