You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val (color, hasFillModifier) = node.findTextAttributes()
103
-
var textColor = textLayoutResults.firstOrNull()?.layoutInput?.style?.color
104
+
val textLayoutResult = textLayoutResults.firstOrNull()
105
+
var textColor = textLayoutResult?.layoutInput?.style?.color
104
106
if (textColor?.isUnspecified ==true) {
105
107
textColor = color
106
108
}
107
-
// TODO: support multiple text layouts
109
+
val isLaidOut = textLayoutResult?.layoutInput?.style?.fontSize !=TextUnit.Unspecified
108
110
// TODO: support editable text (currently there's a way to get @Composable's padding only via reflection, and we can't reliably mask input fields based on TextLayout, so we mask the whole view instead)
0 commit comments