forked from Blendman974/faceclaw
Screen test for dithering experimentation; landscape layout for phone preview
This commit is contained in:
1 parent
8d6fe60c79
commit
468291aac3
9 files changed
+215
-34
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user