fix: properly namespace vector mixin change bypass

This commit is contained in:
cha0s 2019-05-03 01:21:50 -05:00
parent 3e2e85faf3
commit 1f065d58e3

View File

@ -25,7 +25,7 @@ export function VectorMixin(
meta.initialize = function() {
this[transformedProperty] = Vector.copy(meta.default);
};
const bypass = `${vectorKey}$bypassChangedEvent`;
const bypass = `${transformedProperty}$bypassChangedEvent`;
meta.set = meta.set || new Function('vector', `
this.${transformedProperty} = [
this.${transformedProperty}[0],