Make pit display scroll speed configurable.

This commit is contained in:
Patrick Fairbank
2018-09-16 19:50:23 -07:00
parent 8a06255c7f
commit 2c6cf21252
3 changed files with 13 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ func (web *Web) pitDisplayHandler(w http.ResponseWriter, r *http.Request) {
return
}
if !web.enforceDisplayConfiguration(w, r, nil) {
if !web.enforceDisplayConfiguration(w, r, map[string]string{"scrollMsPerRow": "1000"}) {
return
}