Use WebGL Renderer by default

also set disableLigatures same as default config
This commit is contained in:
Labhansh Agrawal 2021-11-28 22:07:30 +05:30
parent 4c90d7555c
commit 923518b72f
2 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ const initial: uiState = Immutable<Mutable<uiState>>({
webGLRenderer: true,
webLinksActivationKey: '',
macOptionSelectionMode: 'vertical',
disableLigatures: false
disableLigatures: true
});
const reducer: IUiReducer = (state = initial, action) => {
@ -260,7 +260,7 @@ const reducer: IUiReducer = (state = initial, action) => {
ret.macOptionSelectionMode = config.macOptionSelectionMode;
}
if (config.disableLigatures) {
if (config.disableLigatures !== undefined) {
ret.disableLigatures = config.disableLigatures;
}