mirror of
https://git.sleeping.town/mirrors/foxy-moxy
synced 2025-06-17 04:40:48 -07:00
Deprecate v1 urls, upgraded things
This commit is contained in:
parent
21a47e0c45
commit
a674d6a79c
5 changed files with 32 additions and 151 deletions
|
@ -1,7 +1,9 @@
|
|||
const renderFox = function (canvas, opts) {
|
||||
const width = opts.canvas.width
|
||||
const height = opts.canvas.height
|
||||
const ctx = canvas.getContext('2d')
|
||||
const ctx = canvas.getContext('2d', {
|
||||
pixelFormat: 'RGB16_565',
|
||||
})
|
||||
|
||||
ctx.fillStyle = opts.canvas.color
|
||||
ctx.fillRect(0, 0, width, height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue