fix(draw): data store path

Corrected path fixes transparent background.
See #96
This commit is contained in:
jdotzki 2014-08-15 11:38:45 +02:00
parent c103f6863d
commit 63caaeb7f4
1 changed files with 3 additions and 3 deletions

View File

@ -189,9 +189,9 @@ function PathMap(Snap) {
'l 0,-{e.y2} ' + 'l 0,-{e.y2} ' +
'c -{e.x0},-{e.y1} -{e.x1},-{e.y1} -{e.x2},0' + 'c -{e.x0},-{e.y1} -{e.x1},-{e.y1} -{e.x2},0' +
'c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0 ' + 'c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0 ' +
'm 0,{e.y0}' + 'm -{e.x2},{e.y0}' +
'c -{e.x0},{e.y1} -{e.x1},{e.y1} -{e.x2},0' + 'c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0' +
'm 0,{e.y0}' + 'm -{e.x2},{e.y0}' +
'c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0', 'c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0',
height: 61, height: 61,
width: 61, width: 61,