Skip to content

Commit

Permalink
Added square option to list (based on foliojs#1099)
Browse files Browse the repository at this point in the history
  • Loading branch information
Niek committed May 25, 2021
1 parent c9431d6 commit 63a544e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mixins/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ export default {
case 'bullet':
this.circle(this.x - indent + r, this.y + midLine, r);
this.fill();
break;
case 'square':
this.rect(this.x - indent, this.y, r*3,r*3);
return this.stroke();
case 'numbered':
case 'lettered':
var text = label(numbers[i - 1]);
Expand Down

0 comments on commit 63a544e

Please sign in to comment.