Skip to content

Commit

Permalink
Enable advanced shaping in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkah committed Jun 23, 2023
1 parent be52039 commit 8d99a5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/widget/selectable_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ where
height: Length::Shrink,
horizontal_alignment: alignment::Horizontal::Left,
vertical_alignment: alignment::Vertical::Top,
#[cfg(debug_assertions)]
shaping: Shaping::Basic,
#[cfg(not(debug_assertions))]
shaping: Shaping::Advanced,
style: Default::default(),
}
}
Expand Down

0 comments on commit 8d99a5a

Please sign in to comment.