MCPcopy Create free account
hub / github.com/nodejs/node / updatePanes

Method updatePanes

deps/v8/tools/turbolizer/src/resizer.ts:268–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 }
267
268 public updatePanes(): void {
269 this.left.style.width = `${this.sepLeft}px`;
270 this.resizerLeft.style("left", `${this.sepLeft}px`);
271 this.right.style.width = `${(document.body.getBoundingClientRect().width - this.sepRight)}px`;
272 this.resizerRight.style("right",
273 `${(document.body.getBoundingClientRect().width - this.sepRight - 1)}px`);
274 this.updateRangesPane();
275 this.panesUpdatedCallback();
276 }
277
278 public updateRanges(): void {
279 if (this.isRangesSnapped()) {

Callers 4

dragRangesEndMethod · 0.95
constructorMethod · 0.80
constructorMethod · 0.80

Calls 1

updateRangesPaneMethod · 0.95

Tested by

no test coverage detected