Skip to content

Commit d486843

Browse files
committed
Fix flex_shrink typo take 2
1 parent 424b30e commit d486843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taffy_stylo/src/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ impl taffy::FlexboxItemStyle for TaffyStyloStyle {
159159

160160
#[inline]
161161
fn flex_shrink(&self) -> f32 {
162-
self.0.get_position().flex_grow.0
162+
self.0.get_position().flex_shrink.0
163163
}
164164

165165
#[inline]

0 commit comments

Comments
 (0)