#128 limit max burn rate control to actual max burn rate
This commit is contained in:
@@ -17,7 +17,7 @@ local config = require("coordinator.config")
|
||||
local coordinator = require("coordinator.coordinator")
|
||||
local renderer = require("coordinator.renderer")
|
||||
|
||||
local COORDINATOR_VERSION = "alpha-v0.6.13"
|
||||
local COORDINATOR_VERSION = "alpha-v0.6.14"
|
||||
|
||||
local print = util.print
|
||||
local println = util.println
|
||||
|
||||
@@ -247,6 +247,7 @@ local function init(parent, id)
|
||||
PushButton{parent=burn_control,x=14,y=2,text="SET",min_width=5,fg_bg=cpair(colors.black,colors.yellow),active_fg_bg=cpair(colors.white,colors.gray),callback=set_burn}
|
||||
|
||||
r_ps.subscribe("burn_rate", function (v) burn_rate.set_value(v) end)
|
||||
r_ps.subscribe("max_burn", function (v) burn_rate.set_max(v) end)
|
||||
|
||||
local dis_colors = cpair(colors.white, colors.lightGray)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user