carstenschaefer / DrawerJs

A customizable WYSIWYG HTML canvas editor.
https://www.drawerjs.com
MIT License
556 stars 113 forks source link

Borders doesn't work #38

Closed baosushi closed 4 years ago

baosushi commented 5 years ago

It seems the issue also happens in the 3 demo pages. haven't checked other branches but on master branch it doesn't work no matter what the settings are

baosushi commented 5 years ago

I've found the issue. I don't know if this was intended to be like this or not though The ShapeBorder plugin tries to set the border options to the fabric Canvas active object when there's no active object, so the border is never rendered correctly (stroke was null, border color is always set as the default option)