MCPcopy Create free account
hub / github.com/bwasti/mebm / update

Method update

script.js:538–543  ·  view source on GitHub ↗
(change, ref_time)

Source from the content-addressed store, hash-verified

536 }
537
538 update(change, ref_time) {
539 let rect = this.ctx.measureText(this.name);
540 this.width = rect.width;
541 this.height = rect.actualBoundingBoxAscent + rect.actualBoundingBoxDescent;
542 super.update(change, ref_time);
543 }
544
545 render(ctx_out, ref_time) {
546 let f = this.getFrame(ref_time);

Callers 1

loopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected