Your surprise sucks
This commit is contained in:
parent
dea6748034
commit
5993f45dc9
@ -14,7 +14,7 @@ function SkillTree(p) {
|
||||
const canvas = canvasRef.current
|
||||
const context = canvas.getContext('2d')
|
||||
context.clearRect(0,0,width,height)
|
||||
context.fillStyle = '#AA6666'
|
||||
context.fillStyle = 'rgba(100,100,100,0.5)'
|
||||
context.strokeStyle=p.strokeStyle
|
||||
context.lineWidth=p.lineWidth //https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth
|
||||
context.setLineDash(p.lineDash) //https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash
|
||||
|
Loading…
x
Reference in New Issue
Block a user