1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00

App::clear_color: give egui::Visuals as argument

This commit is contained in:
Emil Ernerfeldt
2022-04-30 15:41:43 +02:00
parent 8303523ccf
commit e1bcaeebe5
5 changed files with 13 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ fn main() {
struct MyApp {}
impl eframe::App for MyApp {
fn clear_color(&self) -> egui::Rgba {
fn clear_color(&self, _visuals: &egui::Visuals) -> egui::Rgba {
egui::Rgba::TRANSPARENT // Make sure we don't paint anything behind the rounded corners
}