index
:
mixxx
adapt-nix
enh/djinterop-0.19.0
fix-nix-shell
flake/djinterop-0.19.0
libdjinterop_nix_shell
main
master
nix-build-with-libdjinterop
pr-2753
shellnix-only-devshell
sqlite-from-qt
tmp
working-libdjinterop-engineprime-export
Contrib clone of mixxx
matthias
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
res
/
qml
/
Mixxx
/
MathUtils.mjs
blob: e399e23b8768bf329a1aab2bfe35527910b5d9ea (
plain
)
1
2
3
export
function
clamp
(
value
,
min
,
max
)
{
return
Math
.
max
(
Math
.
min
(
value
,
max
),
min
);
};