rm clamp (#9271)
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
type NativeGesture,
|
||||
} from 'react-native-gesture-handler'
|
||||
import Animated, {
|
||||
clamp,
|
||||
interpolate,
|
||||
runOnJS,
|
||||
runOnUI,
|
||||
@@ -258,8 +259,3 @@ function PlayerListener({
|
||||
|
||||
return null
|
||||
}
|
||||
|
||||
function clamp(num: number, min: number, max: number) {
|
||||
'worklet'
|
||||
return Math.min(Math.max(num, min), max)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user