aboutsummaryrefslogtreecommitdiff
path: root/html/flood.html
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-11-25 19:13:43 +0000
committerBen Harris <bjh21@bjh21.me.uk>2022-11-25 19:13:43 +0000
commit115edab4597ba526f9afaa659e4c968db026658f (patch)
treeba677a4926fcb9adbc41a97dec27e5feba3f4d4c /html/flood.html
parenta6a799720f53d52721284c201e2dfc81610c2e40 (diff)
downloadpuzzles-115edab4597ba526f9afaa659e4c968db026658f.zip
puzzles-115edab4597ba526f9afaa659e4c968db026658f.tar.gz
puzzles-115edab4597ba526f9afaa659e4c968db026658f.tar.bz2
puzzles-115edab4597ba526f9afaa659e4c968db026658f.tar.xz
js: Remove alpha channel from almost all our canvases
Specifying the { alpha: false } option when creating a rendering context tells the browser that we won't use transparency, and the standard puzzle canvases, along with blitters, are all opaque. No obvious effect, but the MDN suggests that this should reduce CPU usage. The one exception here is the resize handle, which actually is transparent.
Diffstat (limited to 'html/flood.html')
0 files changed, 0 insertions, 0 deletions