Takes a new height and passes it through the min/max clamp and then checks it doesn't exceed the parent height.
name | type | arguments | Default | description |
---|---|---|---|---|
value | number |
The value to clamp and check. |
||
checkParent | boolean | <optional> | true |
Check the given value against the parent, if set. |
The modified height value.