Use onSelectionChange prop

pull/21833/head
Jorik Schellekens 2020-04-22 10:19:37 +01:00
parent 0d0da6cfdc
commit ba362b727c
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ export default class StyleUserSettingsTab extends React.Component {
<Slider
values={[12, 14, 16, 18, 20]}
value={this.state.fontSize}
updateFontSize={this._onFontSizeChanged}
onSelectionChange={this._onFontSizeChanged}
displayFunc={value => value + 'px'}
/>
<Field