Update dependencies (#282)

This commit is contained in:
Philip Kristoffersen
2022-12-26 14:58:31 +01:00
committed by GitHub
parent 8d3c27c822
commit e76c84b130
8 changed files with 938 additions and 678 deletions
+4 -3
View File
@@ -273,6 +273,7 @@ fn create_style(style: &mut egui::Style) {
style.spacing.item_spacing = egui::vec2(15.0, 15.0);
style.visuals.button_frame = false;
style.visuals.dark_mode = true;
style.visuals.panel_fill = BACKGROUND_COLOR;
style.visuals.override_text_color = Some(TEXT_COLOR);
style.visuals.widgets.noninteractive.rounding = Rounding {
ne: 0.0,
@@ -307,7 +308,7 @@ impl MyEguiApp {
ui.ctx().load_texture(
"import_image",
get_import_image(),
egui::TextureFilter::Linear,
egui::TextureOptions::LINEAR,
)
})
}
@@ -316,7 +317,7 @@ impl MyEguiApp {
self.ui_images.save_button.get_or_insert_with(|| {
// Load the texture only once.
ui.ctx()
.load_texture("save_image", get_save_image(), egui::TextureFilter::Linear)
.load_texture("save_image", get_save_image(), egui::TextureOptions::LINEAR)
})
}
@@ -324,7 +325,7 @@ impl MyEguiApp {
self.ui_images.logo_32.get_or_insert_with(|| {
// Load the texture only once.
ui.ctx()
.load_texture("logo32", get_logo(), egui::TextureFilter::Linear)
.load_texture("logo32", get_logo(), egui::TextureOptions::LINEAR)
})
}
}