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

Method updateRightWidth

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

Source from the content-addressed store, hash-verified

297 }
298
299 public updateRightWidth(): void {
300 if (this.isRightSnapped()) {
301 this.sepRight = document.body.getBoundingClientRect().width;
302 } else {
303 const sepRight = storageGetItem("disassembly-pane-percent");
304 this.sepRight = document.body.getBoundingClientRect().width * sepRight;
305 }
306 }
307
308 private updateSizes(): void {
309 this.updateLeftWidth();

Callers 2

updateSizesMethod · 0.95

Calls 2

isRightSnappedMethod · 0.95
storageGetItemFunction · 0.90

Tested by

no test coverage detected