Skip to content

Commit

Permalink
Shrink entropy collection canvas vertically too on narrow screen sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
GlitchedPolygons committed Dec 15, 2023
1 parent 745f70f commit 1ba2fa3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,17 @@
if (windowDimensions.width < 641)
{
paintCanvas.width = windowDimensions.width - 50;
paintCanvas.height = 256;
}
else if (windowDimensions.width < 1250)
{
paintCanvas.width = windowDimensions.width - 260;
paintCanvas.height = 384;
}
else
{
paintCanvas.width = 1024;
paintCanvas.height = 512;
}
configContext();
Expand Down

0 comments on commit 1ba2fa3

Please sign in to comment.