Merge "Ensure changes in the values of selectedTraces triggers a redraw" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
49c9477b42
@@ -311,6 +311,8 @@ export class TimelineComponent implements TimestampChangeListener {
|
||||
this.selectedTraces = this.selectedTraces.slice(1, 1 + this.MAX_SELECTED_TRACES);
|
||||
}
|
||||
|
||||
// Create new object to make sure we trigger an update on Mini Timeline child component
|
||||
this.selectedTraces = [...this.selectedTraces]
|
||||
this.selectedTracesFormControl.setValue(this.selectedTraces);
|
||||
}
|
||||
internalActiveTrace: TraceType | undefined = undefined;
|
||||
|
||||
Reference in New Issue
Block a user