CONSTANT_CASING

This commit is contained in:
Jorik Schellekens 2020-05-20 15:17:47 +01:00
parent adec5a4f92
commit 50a44405f0
2 changed files with 5 additions and 5 deletions

View file

@ -109,8 +109,8 @@ export default class AppearanceUserSettingsTab extends React.Component {
console.log({value});
const parsedSize = parseFloat(value);
const min = FontWatcher.minSize;
const max = FontWatcher.maxSize;
const min = FontWatcher.MIN_SIZE;
const max = FontWatcher.MAX_SIZE;
if (isNaN(parsedSize)) {
return {valid: false, feedback: _t("Size must be a number")};