Skip to content

Commit

Permalink
fix add to docs explanation of negative y-axis in coordinates #10
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornregnell committed Jun 11, 2024
1 parent 74a56ca commit 90f8048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/introprog/PixelWindow.scala
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ object PixelWindow:
case _ =>
throw new IllegalArgumentException(s"Unknown event number: $event")

/** A window with a canvas for pixel-based drawing.
/** A window with a canvas for pixel-based drawing. Y-coordinates are increasing downwards.
*
* @constructor Create a new window for pixel-based drawing.
* @param width the number of horizontal pixels
Expand Down

0 comments on commit 90f8048

Please sign in to comment.