yep - it would also remove flickers/etc.


--
Ben Vanik
http://www.noxa.org


On Wed, Jul 10, 2013 at 12:57 PM, Chi Zeng <notifications@github.com> wrote:

> In src/wtf/replay/graphics/ui/eventnavigator.js:
>
> > +wtf.replay.graphics.ui.EventNavigator.prototype.layout = function() {
> > +  this.table_.layout();
> > +};
> > +
> > +
> > +/**
> > + * Ensures that the event table updates when the step changes.
> > + * @param {!wtf.replay.graphics.Playback} playback The playback.
> > + */
> > +wtf.replay.graphics.ui.EventNavigator.prototype.heedStepUpdates_ = function(
> > +    playback) {
> > +  var self = this;
> > +  playback.addListener(
> > +      wtf.replay.graphics.Playback.EventType.STEP_CHANGED,
> > +      function() {
> > +        self.table_.setSource(
>
> How about the latter? It would save us from having to reconstruct a table
> source, right?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/google/tracing-framework/pull/366/files#r5125413>
> .
>