mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-18 17:14:21 +01:00
notebook: remove redundant closure
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -225,7 +225,7 @@ fn node_box_ui(
|
||||
.show(ui, |ui| {
|
||||
let rect = ui.available_rect_before_wrap();
|
||||
ui.allocate_at_least(ui.available_size(), egui::Sense::click());
|
||||
ui.put(rect, |ui: &mut egui::Ui| contents(ui));
|
||||
ui.put(rect, contents);
|
||||
})
|
||||
.response
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user