Skip to content

Commit bfe20da

Browse files
committed
Fix yoga benchmarks
Signed-off-by: Nico Burns <[email protected]>
1 parent 7d02f09 commit bfe20da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benches/src/yoga_helpers.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ fn apply_taffy_style(node: &mut yg::Node, style: &tf::Style) {
202202

203203
// position
204204
node.set_position_type(match style.position {
205+
tf::Position::Static => yg::PositionType::Static,
205206
tf::Position::Relative => yg::PositionType::Relative,
206207
tf::Position::Absolute => yg::PositionType::Absolute,
207208
});

0 commit comments

Comments
 (0)