mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
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