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
Use onSelectionChange prop
This commit is contained in:
@@ -228,7 +228,7 @@ export default class StyleUserSettingsTab extends React.Component {
|
|||||||
<Slider
|
<Slider
|
||||||
values={[12, 14, 16, 18, 20]}
|
values={[12, 14, 16, 18, 20]}
|
||||||
value={this.state.fontSize}
|
value={this.state.fontSize}
|
||||||
updateFontSize={this._onFontSizeChanged}
|
onSelectionChange={this._onFontSizeChanged}
|
||||||
displayFunc={value => value + 'px'}
|
displayFunc={value => value + 'px'}
|
||||||
/>
|
/>
|
||||||
<Field
|
<Field
|
||||||
|
|||||||
Reference in New Issue
Block a user