Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Dec 16, 2024
1 parent e9f6bb5 commit 2f0c4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/advanced.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl Pane {
Self { nr }
}

pub fn ui(&mut self, ui: &mut egui::Ui) -> egui_tiles::UiResponse {
pub fn ui(&self, ui: &mut egui::Ui) -> egui_tiles::UiResponse {
let color = egui::epaint::Hsva::new(0.103 * self.nr as f32, 0.5, 0.5, 1.0);
ui.painter().rect_filled(ui.max_rect(), 0.0, color);
let dragged = ui
Expand Down

0 comments on commit 2f0c4ac

Please sign in to comment.