From a37275e6b16e303c60f72c0d3b92c1f6aae4433d Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Fri, 14 Nov 2014 21:17:13 -0800 Subject: [PATCH] fix animation frame --- examples/html/entityProperties.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/html/entityProperties.html b/examples/html/entityProperties.html index 571eb030a1..695879b678 100644 --- a/examples/html/entityProperties.html +++ b/examples/html/entityProperties.html @@ -134,6 +134,7 @@ var elModelAnimationURL = document.getElementById("property-model-animation-url"); var elModelAnimationPlaying = document.getElementById("property-model-animation-playing"); var elModelAnimationFPS = document.getElementById("property-model-animation-fps"); + var elModelAnimationFrame = document.getElementById("property-model-animation-frame"); var elTextSection = document.getElementById("text-section"); var elTextText = document.getElementById("property-text-text"); @@ -344,7 +345,7 @@ elModelAnimationPlaying.addEventListener('change', createEmitCheckedPropertyUpdateFunction('animationIsPlaying')); elModelAnimationFPS.addEventListener('change', createEmitNumberPropertyUpdateFunction('animationFPS')); elModelAnimationFrame.addEventListener('change', createEmitNumberPropertyUpdateFunction('animationFrameIndex')); - + elTextText.addEventListener('change', createEmitTextPropertyUpdateFunction('text')); elTextLineHeight.addEventListener('change', createEmitNumberPropertyUpdateFunction('lineHeight')); @@ -530,6 +531,12 @@ +
+ + + + +