liquid_feedback_frontend

diff env/ui/bargraph.lua @ 1045:701a5cf6b067

Imported LiquidFeedback Frontend 3.0 branch
author bsw
date Thu Jul 10 01:19:48 2014 +0200 (2014-07-10)
parents 811bf260f7cf
children 32cc544d5a5b
line diff
     1.1 --- a/env/ui/bargraph.lua	Thu Jul 10 01:02:43 2014 +0200
     1.2 +++ b/env/ui/bargraph.lua	Thu Jul 10 01:19:48 2014 +0200
     1.3 @@ -35,7 +35,7 @@
     1.4                  attr = {
     1.5                    style = "width: " .. tostring(dlength_abs) .. "px; background-color: " .. bar.color .. ";",
     1.6                  },
     1.7 -                content = function() slot.put(" ") end
     1.8 +                content = ""
     1.9                }
    1.10              end
    1.11              ui.container{
    1.12 @@ -43,7 +43,7 @@
    1.13                  class = "quorum",
    1.14                  style = "width: 1px; background-color: " .. (args.quorum_color or "blue") ..";",
    1.15                },
    1.16 -              content = function() slot.put("") end
    1.17 +              content = ""
    1.18              }
    1.19              length = dlength + 1
    1.20              value = value - dlength
    1.21 @@ -59,7 +59,7 @@
    1.22              attr = {
    1.23                style = "width: " .. tostring(value_abs) .. "px; background-color: " .. bar.color .. ";",
    1.24              },
    1.25 -            content = function() slot.put(" ") end
    1.26 +            content = ""
    1.27            }
    1.28          end
    1.29        end

Impressum / About Us