updated human shape - removed border option.

This commit is contained in:
viliusle 2021-01-04 21:31:32 +02:00
parent 33503a28fc
commit 5ccd056cde
2 changed files with 1 additions and 3 deletions

View File

@ -327,7 +327,6 @@ config.TOOLS = [
visible: false,
attributes: {
border_size: 4,
border: true,
fill: true,
border_color: '#555555',
fill_color: '#aaaaaa',

View File

@ -54,8 +54,7 @@ class Human_class extends Base_tools_class {
//set styles
ctx.strokeStyle = 'transparent';
ctx.fillStyle = 'transparent';
if(params.border)
ctx.strokeStyle = params.border_color;
ctx.strokeStyle = params.border_color;
if(params.fill)
ctx.fillStyle = params.fill_color;
ctx.lineWidth = params.border_size;