Skip to content

Commit

Permalink
limit scale (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck authored Nov 15, 2023
1 parent e47bd86 commit b28e40f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "super-splat",
"version": "0.10.3",
"version": "0.10.4",
"author": "PlayCanvas<support@playcanvas.com>",
"homepage": "https://playcanvas.com",
"description": "All the splat things",
Expand Down
4 changes: 3 additions & 1 deletion src/ui/control-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,9 @@ class ControlPanel extends Container {
const scaleInput = new NumericInput({
class: 'control-element-expand',
precision: 2,
value: 1
value: 1,
min: 0.01,
max: 10000
});

scale.append(scaleLabel);
Expand Down

0 comments on commit b28e40f

Please sign in to comment.