Selaa lähdekoodia

Add default transition period setting to the UI

Chris Mullins 6 vuotta sitten
vanhempi
commit
a0824aa57f
2 muutettua tiedostoa jossa 12 lisäystä ja 2 poistoa
  1. 2 2
      dist/index.html.gz.h
  2. 10 0
      web/src/js/script.js

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 2 - 2
dist/index.html.gz.h


+ 10 - 0
web/src/js/script.js

@@ -39,6 +39,9 @@ var UI_TABS = [ {
   }, {
     tag: "tab-mqtt",
     friendly: "MQTT"
+  }, {
+    tag: "tab-transitions",
+    friendly: "Transitions"
   }
 ];
 
@@ -342,6 +345,13 @@ var UI_FIELDS = [ {
     help: "Number of times the LED will flash when packets are changing",
     type: "string",
     tab: "tab-led"
+  }, {
+    tag: "default_transition_period",
+    friendly: "Default transition period (milliseconds)",
+    help: "Controls how many milliseconds pass between transition packets. "+
+      "For more granular transitions, set this lower.",
+    type: "string",
+    tab: "tab-transitions"
   }
 ];