how can I change the default bluish selectionColor on fabric.js? I've tried to change these lines in fabric.js but got no effect:
selectionColor: 'rgba(17,119,255,0.3)',
selectionBorderColor: 'rgba(255, 255, 255, 0.3)',
editingBorderColor: 'rgba(102,153,255,0.25)',
Is there any other way?
you can change the border color (it shows when you select object) of fabric objects with this parameter: borderColor
for example :
canvas._objects[0].set({'borderColor':'#fbb802'});
canvas.renderAll();
hope helps, good luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With