We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e069f commit 80f43f7Copy full SHA for 80f43f7
src/types/box.js
@@ -13,9 +13,8 @@ export default class BoxAnnotation extends Element {
13
}
14
15
draw(ctx) {
16
- const rotation = this.options.rotation;
17
ctx.save();
18
- translate(ctx, this, rotation);
+ translate(ctx, this, this.options.rotation);
19
drawBox(ctx, this, this.options);
20
ctx.restore();
21
0 commit comments