Skip to content

Commit

Permalink
Update engineTools.js
Browse files Browse the repository at this point in the history
#1568 Fix defaults in getRequireSameDimensions
  • Loading branch information
abautu authored May 17, 2024
1 parent 19c56d1 commit e2bf212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/util/engineTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e2bf212

Please sign in to comment.