mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-13 22:48:54 -04:00
Switch HiDPI on by default.
Allow deactivation by setting the hidpi attribute to "off" on the canvas.
This commit is contained in:
parent
5439f6ba45
commit
1f98d72c5b
103 changed files with 121 additions and 122 deletions
examples/Scripts
|
@ -27,7 +27,6 @@
|
|||
function runTest(testName, handler) {
|
||||
var caption = document.createElement('h3');
|
||||
var canvas = document.createElement('canvas');
|
||||
canvas.setAttribute('hidpi');
|
||||
caption.appendChild(document.createTextNode(testName));
|
||||
container.appendChild(caption);
|
||||
container.appendChild(canvas);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue