lib/ustate/dash/helper/renderer.rb in ustate-client-0.0.7 vs lib/ustate/dash/helper/renderer.rb in ustate-client-0.0.8

- old
+ new

@@ -78,9 +78,10 @@ size = begin (x || 0) * 100 / opts[:max] rescue ZeroDivisionError 0 end + size = "%.2f" % size tag opts[:tag], h(text), :class => "state #{s.state}", style: "opacity: #{age_fraction s.time}; width: #{size}%", title: s.description