Skip to content

Commit

Permalink
Saving DPI into a numeric value
Browse files Browse the repository at this point in the history
  • Loading branch information
earlyriser committed Oct 1, 2019
1 parent 285d6a7 commit f3651e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/prefs/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class AppPrefs extends React.PureComponent {
}

handleDPIChange = dpi => {
this.props.onSettingsUpdate({ dpi })
this.props.onSettingsUpdate({ dpi: Number(dpi) })
}

handleTemplateChange = (values, hasChanged) => {
Expand Down

0 comments on commit f3651e7

Please sign in to comment.