mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-06-16 16:09:33 -04:00
Add keepalive attribute to canvas to tag that controls wether it animates in background in emulated requestAnimationFrame() function, and use it in all example files.
This commit is contained in:
parent
a775e66632
commit
3feb45addc
31 changed files with 60 additions and 77 deletions
examples/Scripts
|
@ -42,5 +42,5 @@
|
|||
</script>
|
||||
</head>
|
||||
<body style='background-color: black'>
|
||||
<canvas id='canvas' resize></canvas>
|
||||
<canvas id="canvas" resize keepalive="true"></canvas>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue