TextComposer: Fix preview color.
This commit is contained in:
parent
4b7ffb141e
commit
b38f2714dc
1 changed files with 27 additions and 25 deletions
|
|
@ -505,11 +505,13 @@ private fun aTextEditorStateMarkdownList() = persistentListOf(
|
||||||
)
|
)
|
||||||
|
|
||||||
private fun aTextEditorStateRichList() = persistentListOf(
|
private fun aTextEditorStateRichList() = persistentListOf(
|
||||||
aTextEditorStateRich(),
|
aTextEditorStateRich(initialFocus = true),
|
||||||
aTextEditorStateRich(initialText = "A message"),
|
aTextEditorStateRich(initialText = "A message", initialFocus = true),
|
||||||
aTextEditorStateRich(
|
aTextEditorStateRich(
|
||||||
initialText = "A message\nWith several lines\nTo preview larger textfields and long lines with overflow",
|
initialText = "A message\nWith several lines\nTo preview larger textfields and long lines with overflow",
|
||||||
|
initialFocus = true
|
||||||
),
|
),
|
||||||
|
aTextEditorStateRich(initialText = "A message without focus", initialFocus = false),
|
||||||
)
|
)
|
||||||
|
|
||||||
@PreviewsDayNight
|
@PreviewsDayNight
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue