diff --git a/packages/core/src/svg.mjs b/packages/core/src/svg.mjs index 74c5366b93c..3c44f1a82e3 100644 --- a/packages/core/src/svg.mjs +++ b/packages/core/src/svg.mjs @@ -142,7 +142,7 @@ Svg.prototype.__insertText = function (text) { if (this.hooks.insertText.length > 0) { for (let hook of this.hooks.insertText) text = hook.method( - this.pattern.settings[this.activeStackIndex].locale || 'en', + this.pattern.settings[this.pattern.activeSet].locale || 'en', text, hook.data )