mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
App::clear_color: give egui::Visuals as argument
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user