(change, ref_time)
| 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); |