Skip to content

Commit

Permalink
percent now has sliders
Browse files Browse the repository at this point in the history
  • Loading branch information
PRO-2684 committed Sep 26, 2024
1 parent 6a90130 commit 86a5b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/renderer/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,13 @@ function addVarInput(varItem, varObj) {
}
break;
}
case "percent":
case "percentage":
case "number": {
const { min, max, step } = varObj;
varInput = createNumberLikeInput("number", { defaultValue, min, max, step });
break;
}
case "percent":
case "percentage":
case "range": {
const { min, max, step } = varObj;
const [range, number] = createLinkedInputs({ defaultValue, min, max, step });
Expand Down

0 comments on commit 86a5b00

Please sign in to comment.