radykal | Support Center Chooser

For which product do you need support?

Fancy Product Designer Multistep Product Configurator Another

Start a new topic

Fabric.js object border bounding

In fabric.js I've added the following changes to make a selected object border dashed instead of solid:

if (fabric.StaticCanvas.supports('setLineDash') === true) {

However, I'd like to instead add a dashed array of black/white so it can be seen on any colour background. I found this thread about it https://github.com/kangax/fabric.js/issues/2700 but I can't see where to make adjustments in fancyproductdesigner-all.js.

Anyone got an idea?

Thanks in advance!

Login or Signup to post a comment