Abort: force refresh if there is one bar only
Vladimir Bauer
4 years ago
1 changed file(s) with
2 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+2
-0
bar.go
less
more
277
277
default:
278
278
if drop {
279
279
b.container.dropBar(b)
280
} else if b.container.BarCount() == 1 {
281
b.container.refreshCh <- time.Now()
280
282
}
281
283
b.cancel()
282
284
}