Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Jun 6, 2024
1 parent c1aa8b8 commit 02e7a44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion crates/eframe/src/web/app_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ impl AppRunner {
/// The result can be painted later with a call to [`Self::run_and_paint`] or [`Self::paint`].
pub fn logic(&mut self) {
let canvas_size = super::canvas_size_in_points(self.canvas(), self.egui_ctx());
log::info!("LOGIC {canvas_size:?}");
let raw_input = self.input.new_frame(canvas_size);

let full_output = self.egui_ctx.run(raw_input, |egui_ctx| {
Expand Down
5 changes: 0 additions & 5 deletions crates/eframe/src/web/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,11 +630,6 @@ pub(crate) fn install_resize_observer(runner_ref: &WebRunner) -> Result<(), JsVa
return;
}
};
log::info!(
"ResizeObserver canvas={:?} to={:?}",
super::canvas_size_in_points(canvas, runner_lock.egui_ctx()),
(width, height),
);
canvas.set_width(width);
canvas.set_height(height);

Expand Down

0 comments on commit 02e7a44

Please sign in to comment.