Skip to content

Commit 63a544e

Browse files
author
Niek
committed
Added square option to list (based on foliojs#1099)
1 parent c9431d6 commit 63a544e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/mixins/text.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ export default {
191191
case 'bullet':
192192
this.circle(this.x - indent + r, this.y + midLine, r);
193193
this.fill();
194-
break;
194+
case 'square':
195+
this.rect(this.x - indent, this.y, r*3,r*3);
196+
return this.stroke();
195197
case 'numbered':
196198
case 'lettered':
197199
var text = label(numbers[i - 1]);

0 commit comments

Comments
 (0)