fix: properly namespace vector mixin change bypass
This commit is contained in:
parent
3e2e85faf3
commit
1f065d58e3
|
@ -25,7 +25,7 @@ export function VectorMixin(
|
||||||
meta.initialize = function() {
|
meta.initialize = function() {
|
||||||
this[transformedProperty] = Vector.copy(meta.default);
|
this[transformedProperty] = Vector.copy(meta.default);
|
||||||
};
|
};
|
||||||
const bypass = `${vectorKey}$bypassChangedEvent`;
|
const bypass = `${transformedProperty}$bypassChangedEvent`;
|
||||||
meta.set = meta.set || new Function('vector', `
|
meta.set = meta.set || new Function('vector', `
|
||||||
this.${transformedProperty} = [
|
this.${transformedProperty} = [
|
||||||
this.${transformedProperty}[0],
|
this.${transformedProperty}[0],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user