Skip to content

Commit

Permalink
Re-render graph when inputs change
Browse files Browse the repository at this point in the history
  • Loading branch information
geom3trik committed Dec 9, 2024
1 parent 783b48b commit 72a456b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ impl DelayGraph {

Label::new(cx, params.map(Self::create_tap_length_text)).class("tap-length-label");
})
.bind(params.map(|v| v.current_time.load(Ordering::SeqCst)), |mut handle, _| handle.needs_redraw())
}
fn create_tap_length_text(params: &Arc<Del2Params>) -> String {
const TOTAL_DIGITS: usize = 3;
Expand Down

0 comments on commit 72a456b

Please sign in to comment.