fix(core): Active set, not stack
This commit is contained in:
parent
91c6698139
commit
65edf0d249
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue