Screen test for dithering experimentation; landscape layout for phone preview

This commit is contained in:
James Babcock committed 2026-05-17 18:17:06 -07:00
1 parent 8d6fe60c79
commit 468291aac3
9 files changed
+215 -34

No files matched your search

+1 -1
View File
@@ -379,7 +379,7 @@ function drawNightscoutBasalOverlay(
const leftX = timeToGraphX(bounds, windowStartMs, startMs);
const rightX = timeToGraphX(bounds, windowStartMs, endMs);
const height = Math.max(1, Math.round((event.rate / maxRate) * overlayHeight));
image.fillRect(leftX, bottomY - height + 1, Math.max(1, rightX - leftX + 1), height, 18);
image.fillRect(leftX, bottomY - height + 1, Math.max(1, rightX - leftX + 1), height, 15);
}
}