add screenReaderMode option
This commit is contained in:
parent
f69e359554
commit
87f231d582
9 changed files with 20 additions and 3 deletions
|
|
@ -107,7 +107,8 @@ const initial: uiState = Immutable<Mutable<uiState>>({
|
|||
webGLRenderer: true,
|
||||
webLinksActivationKey: '',
|
||||
macOptionSelectionMode: 'vertical',
|
||||
disableLigatures: true
|
||||
disableLigatures: true,
|
||||
screenReaderMode: false
|
||||
});
|
||||
|
||||
const reducer: IUiReducer = (state = initial, action) => {
|
||||
|
|
@ -264,6 +265,10 @@ const reducer: IUiReducer = (state = initial, action) => {
|
|||
ret.disableLigatures = config.disableLigatures;
|
||||
}
|
||||
|
||||
if (config.screenReaderMode !== undefined) {
|
||||
ret.screenReaderMode = config.screenReaderMode;
|
||||
}
|
||||
|
||||
ret._lastUpdate = now;
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue