Remove experimentalCharAtlas, make dynamic default

The NoneCharAtlas is still available to swap in if we need it.

Fixes #1576
This commit is contained in:
Daniel Imms
2019-05-31 10:54:23 -07:00
parent b0986494a2
commit 53c71b3579
14 changed files with 49 additions and 298 deletions
+1 -3
View File
@@ -21,7 +21,6 @@ export function generateConfig(scaledCharWidth: number, scaledCharHeight: number
ansi: colors.ansi.slice(0, 16)
};
return {
type: terminal.options.experimentalCharAtlas,
devicePixelRatio: window.devicePixelRatio,
scaledCharWidth,
scaledCharHeight,
@@ -40,8 +39,7 @@ export function configEquals(a: ICharAtlasConfig, b: ICharAtlasConfig): boolean
return false;
}
}
return a.type === b.type &&
a.devicePixelRatio === b.devicePixelRatio &&
return a.devicePixelRatio === b.devicePixelRatio &&
a.fontFamily === b.fontFamily &&
a.fontSize === b.fontSize &&
a.fontWeight === b.fontWeight &&