Set the text color determined by the style function
Fixes: https://github.com/iced-rs/iced/issues/2557
This commit is contained in:
parent
a61c84b7e0
commit
8c6caefd9f
1 changed files with 2 additions and 2 deletions
|
|
@ -742,7 +742,7 @@ where
|
|||
tree: &widget::Tree,
|
||||
renderer: &mut Renderer,
|
||||
theme: &Theme,
|
||||
defaults: &renderer::Style,
|
||||
_defaults: &renderer::Style,
|
||||
layout: Layout<'_>,
|
||||
cursor: mouse::Cursor,
|
||||
_viewport: &Rectangle,
|
||||
|
|
@ -811,7 +811,7 @@ where
|
|||
renderer.fill_editor(
|
||||
&internal.editor,
|
||||
text_bounds.position(),
|
||||
defaults.text_color,
|
||||
style.value,
|
||||
text_bounds,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue