Mark
12/08/2023, 11:31 AMAnnotatedString
how do you specify an alpha span without specifying the color? Color.Unspecified.copy(alpha = alpha)
doesn’t work. Note, I’m not building the AnnotatedString
in a Composable, so I don’t have access to LocalTextStyle
Mark
12/08/2023, 1:26 PMSpanStyle
constructor that takes a Brush
and alpha
but that doesn’t seem to work (alpha ignored) when Brush
is set to null
. Judging by the docs, a non-null Brush
is needed, but how to hack it for standard Brush
behavior? Obviously, can’t use SolidColor(color)
because I don’t have the color (and Color.Unspecified
) doesn’t work there either.saket
12/08/2023, 5:21 PMZach Klippenstein (he/him) [MOD]
12/08/2023, 6:34 PMMark
12/14/2023, 5:06 AMNew issue created: 316188062 (view access not granted)
Zach Klippenstein (he/him) [MOD]
12/14/2023, 5:34 PMZach Klippenstein (he/him) [MOD]
12/14/2023, 5:35 PMZach Klippenstein (he/him) [MOD]
12/14/2023, 5:35 PMMark
12/15/2023, 5:07 AMZach Klippenstein (he/him) [MOD]
12/15/2023, 5:28 AM