update to change size of canvas

This commit is contained in:
William Bell committed 2023-07-10 22:31:04 +01:00
1 parent c3c026a7d4
commit fc233ebe4a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ let load() = do
let app = http.server()
let size = { width: 500, height: 500 }
let size = { width: 150, height: 150 }
app.use(http.logger)
+1 -1
View File
@@ -1,6 +1,6 @@
const canvas = document.getElementById("canvas");
const ctx = canvas.getContext("2d");
const size = { width: 500, height: 500 };
const size = { width: 150, height: 150 };
const colourPicker = document.getElementById("colour");
const colourHex = document.getElementById("colourhex");