flip frames and lands

This commit is contained in:
Kyle
2021-05-14 17:54:41 -07:00
parent ad0d0efa8e
commit 6c74db5a09
100 changed files with 183 additions and 4 deletions

View File

@@ -923,6 +923,9 @@ function writeText(textObject, targetContext) {
targetContext.save();
targetContext
const shapeX = textX + ptShift[0] + permaShift[0];
if (!textOneLine) {
verticalAdjust *= (textRotation / 180 * -1);
}
const shapeY = textY + verticalAdjust + ptShift[1] + permaShift[1];
targetContext.translate(shapeX, shapeY);
targetContext.rotate(Math.PI * textRotation / 180);