mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-14 19:26:59 -04:00
text: rustfmt the underline shift test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
3fd70ff774
commit
2ac8237318
1 file changed
+1
-1
@@ -1,5 +1,5 @@
|
||||
//! Whole-style underline must follow `baseline_shift` the same way character-style runs do.
|
||||
use filmcraft_text::{layout, layout_rich, ParagraphStyle, StyleRun, TextStyle};
|
||||
use filmcraft_text::{ParagraphStyle, StyleRun, TextStyle, layout, layout_rich};
|
||||
|
||||
fn style(shift: f32) -> TextStyle {
|
||||
TextStyle { size: 100.0, underline: true, baseline_shift: shift, ..Default::default() }
|
||||
|
||||
Reference in new issue
Block a user