Remove redundant field assignment
This commit is contained in:
parent
49bcebb1e5
commit
8b49968cab
@ -38,7 +38,7 @@ impl checkbox::Renderer for Renderer {
|
|||||||
content: crate::text::CHECKMARK_ICON.to_string(),
|
content: crate::text::CHECKMARK_ICON.to_string(),
|
||||||
font: crate::text::BUILTIN_ICONS,
|
font: crate::text::BUILTIN_ICONS,
|
||||||
size: bounds.height * 0.7,
|
size: bounds.height * 0.7,
|
||||||
bounds: bounds,
|
bounds,
|
||||||
color: style.checkmark_color,
|
color: style.checkmark_color,
|
||||||
horizontal_alignment: HorizontalAlignment::Center,
|
horizontal_alignment: HorizontalAlignment::Center,
|
||||||
vertical_alignment: VerticalAlignment::Center,
|
vertical_alignment: VerticalAlignment::Center,
|
||||||
|
@ -120,7 +120,7 @@ impl Blit {
|
|||||||
format,
|
format,
|
||||||
pipeline,
|
pipeline,
|
||||||
constants: constant_bind_group,
|
constants: constant_bind_group,
|
||||||
texture_layout: texture_layout,
|
texture_layout,
|
||||||
sample_count: antialiasing.sample_count(),
|
sample_count: antialiasing.sample_count(),
|
||||||
targets: None,
|
targets: None,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user