diff --git a/src/widget/selectable_text.rs b/src/widget/selectable_text.rs index 412ee5aa2..040f718a0 100644 --- a/src/widget/selectable_text.rs +++ b/src/widget/selectable_text.rs @@ -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(), } }