You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-14 19:02:33 +03:00
Set font range
This commit is contained in:
@@ -252,11 +252,7 @@ export default class AppearanceUserSettingsTab extends React.Component {
|
||||
<div className="mx_AppearanceUserSettingsTab_fontSlider">
|
||||
<div className="mx_AppearanceUserSettingsTab_fontSlider_smallText">Aa</div>
|
||||
<Slider
|
||||
values={_range(
|
||||
SettingsStore.getValue("fontSizeMin"),
|
||||
SettingsStore.getValue("fontSizeMax")+ 2,
|
||||
2.5,
|
||||
)}
|
||||
values={[13, 14, 15, 18, 20]}
|
||||
value={this.state.fontSize}
|
||||
onSelectionChange={this._onFontSizeChanged}
|
||||
displayFunc={value => {}}
|
||||
|
||||
Reference in New Issue
Block a user