Fix width and height not being numbers
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
4fbc67835c
commit
dd2079b975
2 changed files with 10 additions and 5 deletions
|
@ -55,8 +55,10 @@ const GetSVGLayoutConfiguration = () => {
|
|||
Type: 'Chassis',
|
||||
Width: 500,
|
||||
Style: {
|
||||
fillOpacity: 0,
|
||||
fillOpacity: 1,
|
||||
borderWidth: 2,
|
||||
stroke: 'red',
|
||||
fill: '#78350F',
|
||||
stroke: 'red'
|
||||
}
|
||||
},
|
||||
|
@ -67,9 +69,10 @@ const GetSVGLayoutConfiguration = () => {
|
|||
Width: 480,
|
||||
Height: 180,
|
||||
Style: {
|
||||
fillOpacity: 0,
|
||||
fillOpacity: 1,
|
||||
borderWidth: 2,
|
||||
stroke: 'green'
|
||||
stroke: 'green',
|
||||
fill: 'white'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -89,7 +92,7 @@ const GetSVGLayoutConfiguration = () => {
|
|||
fillOpacity: 0,
|
||||
borderWidth: 2,
|
||||
stroke: '#713f12',
|
||||
fill: '#713f12'
|
||||
fill: '#713f12',
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue