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

Method updateLeftWidth

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

Source from the content-addressed store, hash-verified

288 }
289
290 public updateLeftWidth(): void {
291 if (this.isLeftSnapped()) {
292 this.sepLeft = 0;
293 } else {
294 const sepLeft = storageGetItem("source-pane-percent");
295 this.sepLeft = document.body.getBoundingClientRect().width * sepLeft;
296 }
297 }
298
299 public updateRightWidth(): void {
300 if (this.isRightSnapped()) {

Callers 2

updateSizesMethod · 0.95
setSourceExpandedMethod · 0.80

Calls 2

isLeftSnappedMethod · 0.95
storageGetItemFunction · 0.90

Tested by

no test coverage detected