How to clear the current selection (unselect selected objects) programmatically in fabric.js?
After a user hast selected a group, my custom event handler for "selected" runs. Now the group is selected. But I would like it not to be selected.
How to clear the current selection (unselect selected objects) programmatically in fabric.js?
After a user hast selected a group, my custom event handler for "selected" runs. Now the group is selected. But I would like it not to be selected.
 
    
    canvas.deactivateAllWithDispatch() or just canvas.deactivateAll() if no events should be triggered. Then canvas.renderAll() might be required.
