1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

clippy fixes for rust 1.52

This commit is contained in:
Emil Ernerfeldt
2021-05-06 20:49:22 +02:00
parent 29668b5128
commit 0d71017ad4
6 changed files with 70 additions and 77 deletions

View File

@@ -141,9 +141,9 @@ impl ScrollArea {
Prepared {
id,
state,
current_scroll_bar_width,
always_show_scroll,
inner_rect,
current_scroll_bar_width,
content_ui,
}
}

View File

@@ -311,7 +311,7 @@ fn color_picker_hsvag_2d(ui: &mut Ui, hsva: &mut HsvaGamma, alpha: Alpha) {
ui.label("Value");
ui.end_row();
color_slider_2d(ui, v, s, |v, s| HsvaGamma { v, s, ..opaque }.into());
color_slider_2d(ui, v, s, |v, s| HsvaGamma { s, v, ..opaque }.into());
ui.label("Value / Saturation");
ui.end_row();
});