Open ouyoungs opened 4 months ago
since v6 changes: https://github.com/fabricjs/fabric.js/issues/7670 this dosen't work now: http://fabricjs.com/manage-selection
is there any API to Change a activeSelection to a normal group? thx everyone!
Version
6.0.0-rc1
this dosn't work:
const objects = canvas.getActiveObjects() canvas.discardActiveObject(); if (objects) { canvas.remove(...objects); const group = new Group(); objects.forEach((obj) => { group.add(obj) }) canvas.add(group); canvas.renderAll(); }
No response
Does the current state code still not work? A rudimentary test seems fine and probably could be used to fix the demo (I would just do "new Group(objects)" instead of separating the forEach).
CheckList
Description
since v6 changes: https://github.com/fabricjs/fabric.js/issues/7670 this dosen't work now: http://fabricjs.com/manage-selection
is there any API to Change a activeSelection to a normal group? thx everyone!
Current State
Version
6.0.0-rc1
this dosn't work:
Additional Context
No response