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:
flamingcow
2026-08-17 21:54:53 -07:00
parent 8eab224472
commit bb99695b47
2 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -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)