Revert "Fix RTL text direction rendering (#1687)" (#1705)

This reverts commit a118bed82f.
This commit is contained in:
David Luzar 2020-06-03 12:12:43 +02:00 committed by GitHub
parent 1f375522d6
commit ff93d95998
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 41 deletions

View file

@ -32,8 +32,6 @@ export const exportToCanvas = (
const tempCanvas = document.createElement("canvas");
tempCanvas.width = width * scale;
tempCanvas.height = height * scale;
// We append the canvas before drawing it to it for RTL to work
document.body.appendChild(tempCanvas);
return tempCanvas;
},
) => {