From 1657c5092031a43d698368d9110083955de69f2d Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Thu, 23 Apr 2015 12:00:13 -0700 Subject: [PATCH] Add limits to zone fields in entity properties window --- examples/html/entityProperties.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/html/entityProperties.html b/examples/html/entityProperties.html index 348dc00df4..46afe5abf9 100644 --- a/examples/html/entityProperties.html +++ b/examples/html/entityProperties.html @@ -386,8 +386,8 @@ elZoneKeyLightColorRed.value = properties.keyLightColor.red; elZoneKeyLightColorGreen.value = properties.keyLightColor.green; elZoneKeyLightColorBlue.value = properties.keyLightColor.blue; - elZoneKeyLightIntensity.value = properties.keyLightIntensity; - elZoneKeyLightAmbientIntensity.value = properties.keyLightAmbientIntensity; + elZoneKeyLightIntensity.value = properties.keyLightIntensity.toFixed(2); + elZoneKeyLightAmbientIntensity.value = properties.keyLightAmbientIntensity.toFixed(2); elZoneKeyLightDirectionX.value = properties.keyLightDirection.x.toFixed(2); elZoneKeyLightDirectionY.value = properties.keyLightDirection.y.toFixed(2); elZoneKeyLightDirectionZ.value = properties.keyLightDirection.z.toFixed(2); @@ -907,21 +907,21 @@
Key Light Color
-
R
-
G
-
B
+
R
+
G
+
B
Key Light Intensity
- +
Key Light Ambient Intensity
- +
@@ -936,31 +936,31 @@
Stage Latitude
- +
Stage Longitude
- +
Stage Altitude
- +
Stage Day
- +
Stage Hour
- +