Merge "ui: Schedule redraw when moving the timeline" into main
diff --git a/ui/src/core/timeline.ts b/ui/src/core/timeline.ts
index 5394244..42c6445 100644
--- a/ui/src/core/timeline.ts
+++ b/ui/src/core/timeline.ts
@@ -64,6 +64,7 @@
.scale(ratio, centerPoint, MIN_DURATION)
.fitWithin(this.traceSpan.start, this.traceSpan.end);
+ raf.scheduleRedraw();
this.retriggerControllersOnChange();
}
@@ -71,6 +72,8 @@
this._visibleWindow = this._visibleWindow
.translate(delta)
.fitWithin(this.traceSpan.start, this.traceSpan.end);
+
+ raf.scheduleRedraw();
this.retriggerControllersOnChange();
}
@@ -122,6 +125,7 @@
.clampDuration(MIN_DURATION)
.fitWithin(this.traceSpan.start, this.traceSpan.end);
+ raf.scheduleRedraw();
this.retriggerControllersOnChange();
}