1
0
Fork 0

fix(core): Active set, not stack

This commit is contained in:
Joost De Cock 2022-10-23 19:49:58 +02:00
parent 91c6698139
commit 65edf0d249

View file

@ -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
)