Format files
This commit is contained in:
@@ -20,7 +20,7 @@ export class WebglAddon implements ITerminalAddon {
|
|||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private _preserveDrawingBuffer?: boolean
|
private _preserveDrawingBuffer?: boolean
|
||||||
) {}
|
) { }
|
||||||
|
|
||||||
public activate(terminal: Terminal): void {
|
public activate(terminal: Terminal): void {
|
||||||
if (!terminal.element) {
|
if (!terminal.element) {
|
||||||
|
|||||||
@@ -54,8 +54,8 @@ export class WebglRenderer extends Disposable implements IRenderer {
|
|||||||
private _contextRestorationTimeout: number | undefined;
|
private _contextRestorationTimeout: number | undefined;
|
||||||
|
|
||||||
public readonly onChangeTextureAtlas = initEvent<HTMLCanvasElement>();
|
public readonly onChangeTextureAtlas = initEvent<HTMLCanvasElement>();
|
||||||
public readonly onRequestRedraw = initEvent<IRequestRedrawEvent>();
|
public readonly onRequestRedraw = initEvent<IRequestRedrawEvent>();
|
||||||
public readonly onContextLoss = initEvent<void>();
|
public readonly onContextLoss = initEvent<void>();
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private _terminal: Terminal,
|
private _terminal: Terminal,
|
||||||
@@ -419,9 +419,9 @@ export class WebglRenderer extends Disposable implements IRenderer {
|
|||||||
|
|
||||||
// Nothing has changed, no updates needed
|
// Nothing has changed, no updates needed
|
||||||
if (this._model.cells[i] === code &&
|
if (this._model.cells[i] === code &&
|
||||||
this._model.cells[i + RENDER_MODEL_BG_OFFSET] === this._workColors.bg &&
|
this._model.cells[i + RENDER_MODEL_BG_OFFSET] === this._workColors.bg &&
|
||||||
this._model.cells[i + RENDER_MODEL_FG_OFFSET] === this._workColors.fg &&
|
this._model.cells[i + RENDER_MODEL_FG_OFFSET] === this._workColors.fg &&
|
||||||
this._model.cells[i + RENDER_MODEL_EXT_OFFSET] === this._workColors.ext) {
|
this._model.cells[i + RENDER_MODEL_EXT_OFFSET] === this._workColors.ext) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user