We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4af1b5 + 6fd50bc commit 8c1b869Copy full SHA for 8c1b869
client/modules/IDE/components/Preferences/index.jsx
@@ -59,12 +59,12 @@ class Preferences extends React.Component {
59
}
60
61
decreaseFontSize() {
62
- const newValue = this.state.fontSize - 2;
+ const newValue = Number(this.state.fontSize) - 2;
63
this.setFontSize(newValue);
64
65
66
increaseFontSize() {
67
- const newValue = this.state.fontSize + 2;
+ const newValue = Number(this.state.fontSize) + 2;
68
69
70
0 commit comments