GraphNG: fix fillBelowTo regression (#30330)

This commit is contained in:
Leon Sorokin 2021-01-16 10:32:26 -06:00 committed by GitHub
parent 803fe70c3e
commit 9d4769fd74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ export class UPlotConfigBuilder {
config.cursor = this.cursor || {};
// When bands exist, only keep fill when defined
if (config.bands?.length) {
if (this.bands?.length) {
config.bands = this.bands;
const keepFill = new Set<number>();
for (const b of config.bands) {