[ML] persist the brush when expanded to full width (#54020) (#54139)

This commit is contained in:
Dima Arnautov 2020-01-08 02:00:36 -08:00 committed by GitHub
parent 05abb4734b
commit ee5dbdcfb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -445,8 +445,6 @@ const TimeseriesChartIntl = injectI18n(
};
this.selectedBounds = newSelectedBounds;
} else {
// Don't set the brush if the selection is the full context chart domain.
this.setBrushVisibility(false);
const contextXScaleDomain = this.contextXScale.domain();
const newSelectedBounds = {
min: moment(new Date(contextXScaleDomain[0])),