mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Issues/1827 group-ungroup icons (#1956)
* show group and ungroup action-icon * change group-icon visiblilty don't show group if selected is only a single element or a single group of elements Co-authored-by: rene_mbp <harryloveslearning@googlemail.com>
This commit is contained in:
parent
880cac2359
commit
ebf2923c5e
4 changed files with 190 additions and 4 deletions
|
@ -973,7 +973,6 @@ describe("regression tests", () => {
|
|||
"Copy styles",
|
||||
"Paste styles",
|
||||
"Delete",
|
||||
"Group selection",
|
||||
"Ungroup selection",
|
||||
"Add to library",
|
||||
"Send backward",
|
||||
|
@ -984,7 +983,7 @@ describe("regression tests", () => {
|
|||
];
|
||||
|
||||
expect(contextMenu).not.toBeNull();
|
||||
expect(contextMenu?.children.length).toBe(11);
|
||||
expect(contextMenu?.children.length).toBe(10);
|
||||
options?.forEach((opt, i) => {
|
||||
expect(opt.textContent).toBe(expectedOptions[i]);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue