From d8ecf8bae5cb88f94c9efad26a91a916a3192fa1 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Wed, 17 Feb 2021 22:29:12 +0200 Subject: [PATCH] Fix controller specific animations (#8444) --- src/core/core.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/core/core.config.js b/src/core/core.config.js index d30ed3296..8a47782c9 100644 --- a/src/core/core.config.js +++ b/src/core/core.config.js @@ -173,7 +173,12 @@ export default class Config { */ datasetScopeKeys(datasetType) { return cachedKeys(datasetType, - () => [`datasets.${datasetType}`, `controllers.${datasetType}.datasets`, '']); + () => [ + `datasets.${datasetType}`, + `controllers.${datasetType}`, + `controllers.${datasetType}.datasets`, + '' + ]); } /** @@ -186,6 +191,7 @@ export default class Config { return cachedKeys(`${datasetType}.animation`, () => [ `datasets.${datasetType}.animation`, + `controllers.${datasetType}.animation`, `controllers.${datasetType}.datasets.animation`, 'animation' ]); -- 2.47.2