mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Announce auto fit text contents
This commit is contained in:
parent
216e19f629
commit
d993d4ece6
@ -169,7 +169,7 @@ fun AutoFitText(
|
|||||||
) {
|
) {
|
||||||
val measurer = rememberTextMeasurer()
|
val measurer = rememberTextMeasurer()
|
||||||
|
|
||||||
Canvas(modifier = modifier.fillMaxSize()) {
|
Canvas(modifier = modifier.fillMaxSize(), contentDescription = text) {
|
||||||
val measurement = measurer.measure(
|
val measurement = measurer.measure(
|
||||||
text = AnnotatedString(text),
|
text = AnnotatedString(text),
|
||||||
style = style,
|
style = style,
|
||||||
|
Loading…
Reference in New Issue
Block a user