From cccad154a1d7fd9583d6d7da046307507f886c6d Mon Sep 17 00:00:00 2001 From: Andrei Date: Sat, 18 May 2024 00:29:25 +0300 Subject: [PATCH] Update engineTools.js (#1569) #1568 Fix defaults in getRequireSameDimensions --- core/util/engineTools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util/engineTools.js b/core/util/engineTools.js index 00e09ad4..c07d7c10 100644 --- a/core/util/engineTools.js +++ b/core/util/engineTools.js @@ -43,7 +43,7 @@ function genHash (str) { * @returns {boolean} True if the same dimensions are required, otherwise false. */ function getRequireSameDimensions (scenario, config) { - return scenario?.requireSameDimensions ?? config?.requireSameDimensions ?? config?.defaultMisMatchThreshold ?? true; + return scenario?.requireSameDimensions ?? config?.requireSameDimensions ?? config?.defaultRequireSameDimensions ?? true; } function getSelectorName (selector) {