Skip to content
Snippets Groups Projects
Commit a07d5939 authored by Alexander Rose's avatar Alexander Rose
Browse files

tweak printImageData debug helper

parent a0a3ff19
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ export function printImageData(imageData: ImageData, scale = 1, pixelated = fals ...@@ -74,7 +74,7 @@ export function printImageData(imageData: ImageData, scale = 1, pixelated = fals
// not supported in Firefox and IE // not supported in Firefox and IE
img.style.imageRendering = 'pixelated'; img.style.imageRendering = 'pixelated';
} }
img.style.position = 'absolute'; img.style.position = 'relative';
img.style.top = '0px'; img.style.top = '0px';
img.style.left = '0px'; img.style.left = '0px';
img.style.border = 'solid grey'; img.style.border = 'solid grey';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment