liquid_feedback_frontend

diff env/ui/bargraph.lua @ 1309:32cc544d5a5b

Cumulative patch for upcoming frontend version 4
author bsw/jbe
date Sun Jul 15 14:07:29 2018 +0200 (2018-07-15)
parents 701a5cf6b067
children
line diff
     1.1 --- a/env/ui/bargraph.lua	Thu Jun 23 03:30:57 2016 +0200
     1.2 +++ b/env/ui/bargraph.lua	Sun Jul 15 14:07:29 2018 +0200
     1.3 @@ -26,7 +26,7 @@
     1.4          if bar.value > 0 then
     1.5            at_least_one_bar = true
     1.6            local value = bar.value * args.width / args.max_value
     1.7 -          if quorum and quorum < length + value then
     1.8 +          if quorum and quorum <= length + value then
     1.9              local dlength = math.max(quorum - length - 1, 0)
    1.10              local dlength_abs = math.floor(dlength)
    1.11              local rest = rest + dlength - dlength_abs

Impressum / About Us