This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: draw correct colour labels

+1 -1
+1 -1
posedetection/src/iosMain/kotlin/com/performancecoachlab/posedetection/camera/LabelTextIos.kt
··· 29 29 // Measure once at a base size and re-use that exact layout result for drawing. 30 30 // On iOS, measuring and drawing can diverge if we re-measure or rely on fontSize conversions. 31 31 val baseStyle = TextStyle( 32 - color = Color.White, 32 + color = drawableObject.colour, 33 33 // Use a stable base size; the final size will come from scaling the canvas. 34 34 fontSize = 100f.toSp() 35 35 )