MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _refreshCharAtlas

Method _refreshCharAtlas

src/server/web/public/terminal.js:7233–7235  ·  view source on GitHub ↗
(e3, t3)

Source from the content-addressed store, hash-verified

7231 _setTransparency(e3, t3) {
7232 if (t3 === this._alpha) return;
7233 const i3 = this._canvas;
7234 this._alpha = t3, this._canvas = this._canvas.cloneNode(), this._initCanvas(), this._container.replaceChild(this._canvas, i3), this._refreshCharAtlas(e3, this._themeService.colors), this.handleGridChanged(e3, 0, e3.rows - 1);
7235 }
7236 _refreshCharAtlas(e3, t3) {
7237 this._deviceCharWidth <= 0 && this._deviceCharHeight <= 0 || (this._charAtlas = (0, s2.acquireTextureAtlas)(e3, this._optionsService.rawOptions, t3, this._deviceCellWidth, this._deviceCellHeight, this._deviceCharWidth, this._deviceCharHeight, this._coreBrowserService.dpr), this._charAtlas.warmUp());
7238 }

Callers 3

constructorMethod · 0.95
_setTransparencyMethod · 0.95
resizeMethod · 0.95

Calls 1

warmUpMethod · 0.80

Tested by

no test coverage detected