Skip to content

Commit

Permalink
Fix updating of monitors.
Browse files Browse the repository at this point in the history
 * It was redrawing the HTML each time the graphs updated, instead of
just drawing the canvas, which meant the handlers were getting missed,
as they were sometimes on, sometimes off.
  • Loading branch information
pgregory committed Feb 9, 2017
1 parent 8bff49c commit 2013887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/monitors/monitors.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class Monitors {

onTracksChanged(tracks) {
this.tracks = tracks;
this.refresh();
this.renderMonitors();
}

onTrackChanged() {
Expand Down

0 comments on commit 2013887

Please sign in to comment.