mirror of
https://github.com/Open-Argon/http.ar.git
synced 2026-10-28 09:43:55 +00:00
update to change size of canvas
This commit is contained in:
1 parent
c3c026a7d4
commit
fc233ebe4a
2 files changed
+2
-2
No files matched your search
@@ -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,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");
|
||||
|
||||
Reference in new issue
Block a user