Skip to content

Commit cfcdfc5

Browse files
committed
remove print
1 parent 2a3710a commit cfcdfc5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ fn main() {
198198

199199
let repaint_signal = _cc.egui_ctx.clone();
200200
thread::spawn(move || loop {
201-
if let Ok(_) = sync_rx.recv() {
202-
println!("requested repaint!");
201+
if sync_rx.recv().is_ok() {
203202
repaint_signal.request_repaint();
204203
}
205204
});

0 commit comments

Comments
 (0)