Remove unnecessary merge of iced_wgpu::Defaults
This commit is contained in:
parent
3f7dd50594
commit
49bcebb1e5
2 changed files with 1 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ impl iced_native::button::Renderer for Renderer {
|
|||
|
||||
fn draw<Message>(
|
||||
&mut self,
|
||||
defaults: &Defaults,
|
||||
_defaults: &Defaults,
|
||||
bounds: Rectangle,
|
||||
cursor_position: Point,
|
||||
is_disabled: bool,
|
||||
|
|
@ -39,7 +39,6 @@ impl iced_native::button::Renderer for Renderer {
|
|||
text: defaults::Text {
|
||||
color: styling.text_color,
|
||||
},
|
||||
..*defaults
|
||||
},
|
||||
content_layout,
|
||||
cursor_position,
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ impl iced_native::container::Renderer for Renderer {
|
|||
text: defaults::Text {
|
||||
color: style.text_color.unwrap_or(defaults.text.color),
|
||||
},
|
||||
..*defaults
|
||||
};
|
||||
|
||||
let (content, mouse_cursor) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue