MCPcopy Create free account
hub / github.com/material-shell/material-shell / rotateLeft

Method rotateLeft

src/layout/msWorkspace/portion.ts:205–209  ·  view source on GitHub ↗

* rotate order of portions by one in previous direction

()

Source from the content-addressed store, hash-verified

203 * rotate order of portions by one in previous direction
204 */
205 rotateLeft() {
206 const lastChild = this.children.pop();
207 if (lastChild) this.children.splice(0, 0, lastChild);
208 this.updateBorders();
209 }
210
211 isBorderInSubPortion(index: number, after = false): boolean {
212 let portionIndex = 0;

Callers 1

onFocusChangedMethod · 0.80

Calls 3

updateBordersMethod · 0.95
popMethod · 0.65
spliceMethod · 0.65

Tested by

no test coverage detected