Panel columns reordered RESET | LAST 90 S | NOW so time flows one direction: horizons narrow left to right and the NOW column sits at the timeline's own now end
This commit is contained in:
+2
-2
@@ -33,8 +33,8 @@ func TestPanelFitsScreen(t *testing.T) {
|
||||
if d.cellW < 6 {
|
||||
t.Errorf("heat cells %dpx wide, want at least 6", d.cellW)
|
||||
}
|
||||
if end := d.cellsX + d.cellsW; end > d.resetX {
|
||||
t.Errorf("heat cells run to %d, past the reset column at %d", end, d.resetX)
|
||||
if end := d.cellsX + d.cellsW; end > d.nowX {
|
||||
t.Errorf("heat cells run to %d, past the now column at %d", end, d.nowX)
|
||||
}
|
||||
if last := d.rowYs[len(d.rowYs)-1] + d.rowH; last > d.resetBtn.y {
|
||||
t.Errorf("rows end at %d, past the footer at %d", last, d.resetBtn.y)
|
||||
|
||||
Reference in New Issue
Block a user