comment to be clear

This commit is contained in:
Mitchell Hashimoto
2022-07-17 10:06:17 -07:00
parent ea8c3c7576
commit fbd79ee585

View File

@ -55,6 +55,7 @@ modes: packed struct {
/// Scrolling region is the area of the screen designated where scrolling
/// occurs. Wen scrolling the screen, only this viewport is scrolled.
const ScrollingRegion = struct {
// Top and bottom of the scroll region (0-indexed)
// Precondition: top < bottom
top: usize,
bottom: usize,