Remove redundant field assignment

This commit is contained in:
Héctor Ramón Jiménez 2020-03-29 15:20:44 +02:00
parent 49bcebb1e5
commit 8b49968cab
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ impl checkbox::Renderer for Renderer {
content: crate::text::CHECKMARK_ICON.to_string(),
font: crate::text::BUILTIN_ICONS,
size: bounds.height * 0.7,
bounds: bounds,
bounds,
color: style.checkmark_color,
horizontal_alignment: HorizontalAlignment::Center,
vertical_alignment: VerticalAlignment::Center,

View File

@ -120,7 +120,7 @@ impl Blit {
format,
pipeline,
constants: constant_bind_group,
texture_layout: texture_layout,
texture_layout,
sample_count: antialiasing.sample_count(),
targets: None,
}