mokee commited on
Commit
1f5b7fb
·
verified ·
1 Parent(s): 16f309a

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -31,7 +31,7 @@ const runInkscape = (svg, mode) => {
31
  coreActions.push('object-set-property:fill,#000000', 'path-union');
32
  } else if (mode === 'stroke-fill') {
33
  // 先复制一份保留填充,再把另一份转轮廓,最后合并
34
- coreActions.push('object-set-property:fill,#000000','path-combine', 'path-union');
35
  }
36
 
37
  const actions = [
 
31
  coreActions.push('object-set-property:fill,#000000', 'path-union');
32
  } else if (mode === 'stroke-fill') {
33
  // 先复制一份保留填充,再把另一份转轮廓,最后合并
34
+ coreActions.push('object-set-property:fill,#000000','object-stroke-to-path','path-combine', 'path-union');
35
  }
36
 
37
  const actions = [