Skip to content

Commit

Permalink
tweak Actor graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
skanaar committed Sep 11, 2020
1 parent 01f5f3d commit 02ba307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/visuals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ namespace nomnoml {
export var visualizers: { [key in Visual]: Visualizer } = {
actor : function (node, x, y, config, g) {
var a = config.padding/2
var yp = y + a*3
var yp = y + a*4
var faceCenter = {x: node.x, y: yp-a}
g.circle(faceCenter, a).fillAndStroke()
g.path([ {x: node.x, y: yp}, {x: node.x, y: yp+2*a} ]).stroke()
Expand Down

0 comments on commit 02ba307

Please sign in to comment.