How enable multi-selection for sub-targets of Group #10068
Answered
by
zhe-he
mikayelcreativefabrica
asked this question in
Q&A
-
Hey all. I am wondering if there is a way to enable multi-selection for sub-targets of Group https://stackblitz.com/edit/vitejs-vite-p7fzzt?file=src%2Fmain.ts |
Beta Was this translation helpful? Give feedback.
Answered by
zhe-he
Aug 19, 2024
Replies: 2 comments 4 replies
-
I think shift + click should work, for the drag selection i m not 100% sure. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I achieved this by overriding this method. Canvas.prototype.collectObjects = function ({ left, top, width, height }, { includeIntersecting = true } = {}) {
const objects: FabricObject[] = [];
//...
return objects;
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
mikayelcreativefabrica
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I achieved this by overriding this method.