fix beams scale 0

This commit is contained in:
Kevin Ngo
2018-10-03 18:57:02 -07:00
parent c881f6e4d7
commit 9392e57133

View File

@@ -31,7 +31,7 @@ AFRAME.registerComponent('beams', {
beam.visible = false;
beam.anim = AFRAME.anime({
targets: beam.scale,
x: 0,
x: 0.00001,
autoplay: false,
duration: 300,
easing: 'easeInCubic',
@@ -61,4 +61,4 @@ AFRAME.registerComponent('beams', {
beam.anim.restart();
}
});
});