Skip to content

Commit

Permalink
fix main tests
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Sep 25, 2024
1 parent 199e4b1 commit 87a2f70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/viewer/re_ui/src/modal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ use egui::NumExt;
/// Usage:
/// ```
/// # use re_ui::modal::{Modal, ModalHandler};
/// let mut modal_handler = ModalHandler::default();
///
/// # egui::__run_test_ui(|ui| {
/// let mut modal_handler = ModalHandler::default();
///
/// if ui.button("Open").clicked() {
/// modal_handler.open();
/// }
Expand Down

0 comments on commit 87a2f70

Please sign in to comment.