Skip to content

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknus committed Oct 29, 2024
1 parent 2a3710a commit cfcdfc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ fn main() {

let repaint_signal = _cc.egui_ctx.clone();
thread::spawn(move || loop {
if let Ok(_) = sync_rx.recv() {
println!("requested repaint!");
if sync_rx.recv().is_ok() {
repaint_signal.request_repaint();
}
});
Expand Down

0 comments on commit cfcdfc5

Please sign in to comment.