Skip to content

Commit 0da316c

Browse files
committed
removed debug prints
1 parent 0d35577 commit 0da316c

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/widget/button.rs

-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ impl Widget for Button {
123123
}
124124

125125
fn paint(&mut self, cx: &mut PaintCx, builder: &mut SceneBuilder) {
126-
println!("paint button with text {}", self.label);
127126
let is_hot = cx.is_hot();
128127
let is_active = cx.is_active();
129128
let button_border_width = 2.0;

src/widget/core.rs

-2
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,7 @@ impl Pod {
401401
widget_state: &mut self.state,
402402
};
403403

404-
println!("try paint!");
405404
if needs_paint {
406-
println!("paint");
407405
let mut builder = SceneBuilder::for_fragment(&mut self.fragment);
408406
self.widget.paint(&mut inner_cx, &mut builder);
409407
}

0 commit comments

Comments
 (0)