MCPcopy Create free account
hub / github.com/cifertech/DisplayKit / ungroupSelection

Function ungroupSelection

app.js:5025–5033  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5023}
5024
5025function ungroupSelection() {
5026 const sels = getSelectedElements().filter((s) => !s.locked && !s.hidden);
5027 if (!sels.length) return;
5028 sels.forEach((s) => (s.groupId = null));
5029 renderLayers();
5030 renderElements();
5031 updateCode();
5032 pushHistory();
5033}
5034
5035// Utility function to cycle through elements with Tab key
5036function selectNextElement() {

Callers 1

app.jsFile · 0.85

Calls 5

getSelectedElementsFunction · 0.85
renderLayersFunction · 0.85
renderElementsFunction · 0.85
updateCodeFunction · 0.85
pushHistoryFunction · 0.85

Tested by

no test coverage detected