forked from GithubMirrors/cardconjurer
flip frames and lands
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user