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