Add support for displaying images (#6987)
This commit is contained in:
parent
11c923842a
commit
95807fa7ed
13 changed files with 39 additions and 2 deletions
|
|
@ -53,6 +53,7 @@ const initial: uiState = Immutable<Mutable<uiState>>({
|
|||
fontSmoothingOverride: 'antialiased',
|
||||
fontWeight: 'normal',
|
||||
fontWeightBold: 'bold',
|
||||
imageSupport: true,
|
||||
lineHeight: 1,
|
||||
letterSpacing: 0,
|
||||
css: '',
|
||||
|
|
@ -281,6 +282,10 @@ const reducer: IUiReducer = (state = initial, action) => {
|
|||
};
|
||||
}
|
||||
|
||||
if (config.imageSupport !== undefined) {
|
||||
ret.imageSupport = config.imageSupport;
|
||||
}
|
||||
|
||||
ret._lastUpdate = now;
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue