Skip to content

Commit

Permalink
Allow more markdown. Closes #199
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Oct 19, 2023
1 parent 3f600c5 commit 3f6ade0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/wireframes/shapes/neutral/heading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ export class Heading implements ShapePlugin {
public render(ctx: RenderContext) {
ctx.renderer2.text(ctx.shape, ctx.rect, p => {
p.setForegroundColor(ctx.shape);
});
}, true);
}
}
2 changes: 1 addition & 1 deletion src/wireframes/shapes/neutral/rectangle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ export class Rectangle implements ShapePlugin {

ctx.renderer2.text(ctx.shape, ctx.rect.deflate(paddingHorizontal, paddingVertical), p => {
p.setForegroundColor(ctx.shape);
});
}, true);
}
}
2 changes: 1 addition & 1 deletion src/wireframes/shapes/neutral/shape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ export class Shape implements ShapePlugin {
private createText(ctx: RenderContext) {
ctx.renderer2.text(ctx.shape, ctx.rect.deflate(10, 10), p => {
p.setForegroundColor(ctx.shape);
});
}, true);
}
}

0 comments on commit 3f6ade0

Please sign in to comment.