mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Use WebGL Renderer by default
also set disableLigatures same as default config
This commit is contained in:
parent
4c90d7555c
commit
923518b72f
2 changed files with 3 additions and 3 deletions
|
|
@ -148,7 +148,7 @@ module.exports = {
|
||||||
|
|
||||||
// Whether to use the WebGL renderer. Set it to false to use canvas-based
|
// Whether to use the WebGL renderer. Set it to false to use canvas-based
|
||||||
// rendering (slower, but supports transparent backgrounds)
|
// rendering (slower, but supports transparent backgrounds)
|
||||||
webGLRenderer: false,
|
webGLRenderer: true,
|
||||||
|
|
||||||
// keypress required for weblink activation: [ctrl|alt|meta|shift]
|
// keypress required for weblink activation: [ctrl|alt|meta|shift]
|
||||||
// todo: does not pick up config changes automatically, need to restart terminal :/
|
// todo: does not pick up config changes automatically, need to restart terminal :/
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ const initial: uiState = Immutable<Mutable<uiState>>({
|
||||||
webGLRenderer: true,
|
webGLRenderer: true,
|
||||||
webLinksActivationKey: '',
|
webLinksActivationKey: '',
|
||||||
macOptionSelectionMode: 'vertical',
|
macOptionSelectionMode: 'vertical',
|
||||||
disableLigatures: false
|
disableLigatures: true
|
||||||
});
|
});
|
||||||
|
|
||||||
const reducer: IUiReducer = (state = initial, action) => {
|
const reducer: IUiReducer = (state = initial, action) => {
|
||||||
|
|
@ -260,7 +260,7 @@ const reducer: IUiReducer = (state = initial, action) => {
|
||||||
ret.macOptionSelectionMode = config.macOptionSelectionMode;
|
ret.macOptionSelectionMode = config.macOptionSelectionMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.disableLigatures) {
|
if (config.disableLigatures !== undefined) {
|
||||||
ret.disableLigatures = config.disableLigatures;
|
ret.disableLigatures = config.disableLigatures;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue