Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Sep 5, 2024
1 parent 342e6a7 commit 35f097f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/egui/src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ impl Ui {
let id_salt = id_salt.unwrap_or_else(|| Id::from("child"));
let max_rect = max_rect.unwrap_or_else(|| self.available_rect_before_wrap());
let mut layout = layout.unwrap_or(*self.layout());
let invisible = invisible;
let enabled = self.enabled && !disabled && !invisible;
if invisible {
painter.set_invisible();
Expand Down

0 comments on commit 35f097f

Please sign in to comment.