project-nv / night-vision

Highly customizable charting library, created for professional traders
https://nightvision.dev
MIT License
252 stars 58 forks source link

ctx.roundRect is not a function #56

Open PavelSigeti opened 1 year ago

PavelSigeti commented 1 year ago

Describe the bug

NAVY-file:

ctx.strokeStyle = 'orange'; ctx.beginPath(); ctx.roundRect(10, 150, 150, 100, [10, 40]); ctx.stroke();

TypeError: ctx.roundRect is not a function

Reproduction

-

Steps to reproduce

No response

Javascript Framework

vue

Logs

No response

Validations

C451 commented 1 year ago

Works for me, where's your sandbox?

PavelSigeti commented 1 year ago

https://codesandbox.io/s/playing-around-7-forked-pnmbu6?file=/custom.navy

In drawSidebar function