Build the Next line without text tools the locked Ziran lacks

This commit is contained in:
waozi committed 2026-10-30 02:03:01 -03:00
1 parent 42af5a6ad2
commit 3bcf2c0998
1 file changed
+3 -3
+3 -3
View File
@@ -24,7 +24,6 @@
#import "scroll_widget"
#import "segmented_control_props"
#import "segmented_control_widget"
#import "std/text_tools"
#import "tree"
#import, file "../../src/apps/practice_ui_types.zi";
#import, file "../../src/apps/practice_types.zi";
@@ -109,8 +108,9 @@ CenteredLine :: (text: string, y: s32, preferred: s32, minimum: s32, strong: boo
// The name of the step that follows, as one quiet line across the bottom of
// the stage; returns the stage left for the moving figure.
SunSalutationNext :: (stage: Rectangle, step: s32) -> Rectangle {
label_parts: [2]string = .[Locale("sun_salutation_next"), ""]
label := TextJoin(label_parts[:], " ·")
joined: Vec(u8)
BuilderPrint(*joined, "% ·", Locale("sun_salutation_next"))
label := BuilderFinish(joined)
name := Locale(SalutationStepKey(step))
font := Scale(16)
emphasis: [1]TextRange = .[TextRange.{.start = 0, .end = cast(s32)name.count}]