diff --git a/static/canvas.css b/static/canvas.css index a2dd7a1..f96bfc8 100644 --- a/static/canvas.css +++ b/static/canvas.css @@ -10,6 +10,8 @@ html, body { height: 100%; + width: 100%; + margin: 0px; } .wrapper { @@ -72,23 +74,24 @@ html, body { .toolbar { display: flex; - justify-content: space-around; - align-items: center; + flex-direction: row; + justify-content: start; + align-items: start; border-top: solid black 1px; - background-color: var(--utsa-blue); + background-color: gray; width: 100%; - height:auto; + height:100%; } .toolbarItems { display: flex; flex-direction: column; - justify-content: center; + justify-content: start; font-weight: 900; color: white; text-align: center; - height: 100%; - width: 100px; + height: 20px; + width: 20px; } .strokePicker { @@ -113,4 +116,4 @@ canvas { /* possible hamburger menu for moblie users*/ position: absolute } - } +} \ No newline at end of file diff --git a/static/canvas.html b/static/canvas.html index 4d3135f..9a5fe55 100644 --- a/static/canvas.html +++ b/static/canvas.html @@ -20,23 +20,51 @@ Settings - - -
-
- -
-
- - -
-
- -
-
- + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
\ No newline at end of file diff --git a/static/canvas.js b/static/canvas.js index ab521a2..4a42620 100644 --- a/static/canvas.js +++ b/static/canvas.js @@ -100,7 +100,7 @@ canvas.addEventListener("mouseup", async (e) => { if (cx < 0 || cx > CANVAS_SIZE || cy < 0 || cy > CANVAS_SIZE) { return; } - setPixel(image.data, cx, cy, [255, 0, 0, 255]); + setPixel(image.data, cx, cy, [0, 0, 255, 255]); await redraw(); draw(); }