add web-link activation modifier
This commit is contained in:
parent
7d571cfdc2
commit
ffd4eb46e3
8 changed files with 33 additions and 3 deletions
|
|
@ -108,6 +108,7 @@ const initial: ImmutableType<uiState> = Immutable({
|
|||
showWindowControls: '',
|
||||
quickEdit: false,
|
||||
webGLRenderer: true,
|
||||
webLinksActivationKey: '',
|
||||
macOptionSelectionMode: 'vertical',
|
||||
disableLigatures: false
|
||||
});
|
||||
|
|
@ -256,6 +257,10 @@ const reducer = (state = initial, action: HyperActions) => {
|
|||
ret.webGLRenderer = config.webGLRenderer;
|
||||
}
|
||||
|
||||
if (config.webLinksActivationKey !== undefined) {
|
||||
ret.webLinksActivationKey = config.webLinksActivationKey;
|
||||
}
|
||||
|
||||
if (config.macOptionSelectionMode) {
|
||||
ret.macOptionSelectionMode = config.macOptionSelectionMode;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue