Remove unused code
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { IRenderLayer } from './Types';
|
import { IRenderLayer } from './Types';
|
||||||
import { IGlyphIdentifier } from '../atlas/Types';
|
|
||||||
import { acquireCharAtlas } from '../atlas/CharAtlasCache';
|
import { acquireCharAtlas } from '../atlas/CharAtlasCache';
|
||||||
import { Terminal } from 'xterm';
|
import { Terminal } from 'xterm';
|
||||||
import { IColorSet } from 'browser/Types';
|
import { IColorSet } from 'browser/Types';
|
||||||
@@ -25,19 +24,6 @@ export abstract class BaseRenderLayer implements IRenderLayer {
|
|||||||
|
|
||||||
protected _charAtlas: WebglCharAtlas | undefined;
|
protected _charAtlas: WebglCharAtlas | undefined;
|
||||||
|
|
||||||
/**
|
|
||||||
* An object that's reused when drawing glyphs in order to reduce GC.
|
|
||||||
*/
|
|
||||||
private _currentGlyphIdentifier: IGlyphIdentifier = {
|
|
||||||
chars: '',
|
|
||||||
code: 0,
|
|
||||||
bg: 0,
|
|
||||||
fg: 0,
|
|
||||||
bold: false,
|
|
||||||
dim: false,
|
|
||||||
italic: false
|
|
||||||
};
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private _container: HTMLElement,
|
private _container: HTMLElement,
|
||||||
id: string,
|
id: string,
|
||||||
|
|||||||
Reference in New Issue
Block a user