diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 11:42:31 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 11:42:31 -0600 |
| commit | 5eea7f505926031b77cc7832c6c328d674c2ddd1 (patch) | |
| tree | b87303a5d9f9f71dd16624175f6ddcfff7ed1e3d /durationSlider.go | |
| parent | 50074e543b93fda1a5e1fac7fb37859c18499ac3 (diff) | |
loggging output cleanupsv0.12.16
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'durationSlider.go')
| -rw-r--r-- | durationSlider.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/durationSlider.go b/durationSlider.go index 8e79818..a616733 100644 --- a/durationSlider.go +++ b/durationSlider.go @@ -42,13 +42,13 @@ func (n *Duration) Set(d time.Duration) { timeRange = n.High - n.Low step = timeRange / 1000 if step == 0 { - log.Log(INFO, "duration.Set() division by step == 0", n.Low, n.High, timeRange, step) + log.Log(GADGETS, "duration.Set() division by step == 0", n.Low, n.High, timeRange, step) n.s.SetValue(0) return } offset = d - n.Low i := int(offset / step) - log.Log(INFO, "duration.Set() =", n.Low, n.High, d, "i =", i) + log.Log(GADGETS, "duration.Set() =", n.Low, n.High, d, "i =", i) // n.s.I = i n.s.SetValue(i) n.s.Custom() |
