From 923518b72ff4364649a03ba14b3920055440c5f1 Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Sun, 28 Nov 2021 22:07:30 +0530 Subject: [PATCH] Use WebGL Renderer by default also set disableLigatures same as default config --- app/config/config-default.js | 2 +- lib/reducers/ui.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/config/config-default.js b/app/config/config-default.js index 3e1206a5..cafa6599 100644 --- a/app/config/config-default.js +++ b/app/config/config-default.js @@ -148,7 +148,7 @@ module.exports = { // Whether to use the WebGL renderer. Set it to false to use canvas-based // rendering (slower, but supports transparent backgrounds) - webGLRenderer: false, + webGLRenderer: true, // keypress required for weblink activation: [ctrl|alt|meta|shift] // todo: does not pick up config changes automatically, need to restart terminal :/ diff --git a/lib/reducers/ui.ts b/lib/reducers/ui.ts index b2aef703..85c1943c 100644 --- a/lib/reducers/ui.ts +++ b/lib/reducers/ui.ts @@ -107,7 +107,7 @@ const initial: uiState = Immutable>({ 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; }