Do you want to make a copy of the object on
-
+ {
+ if (typeof (value) === 'number') {
+ changePropagateFrames(Math.floor(
+ clamp(value, minPropagateFrames, Number.MAX_SAFE_INTEGER),
+ ));
+ }
+ }}
+ />
{
propagateFrames > 1
? frames
: frame
}
up to the
-
+ {
+ if (typeof (value) === 'number') {
+ changeUpToFrame(Math.floor(
+ clamp(value, frameNumber + 1, stopFrame),
+ ));
+ }
+ }}
+ />
frame
diff --git a/cvat-ui/src/components/annotation-page/top-bar/player-navigation.tsx b/cvat-ui/src/components/annotation-page/top-bar/player-navigation.tsx
index 11a59dee..d3a727ee 100644
--- a/cvat-ui/src/components/annotation-page/top-bar/player-navigation.tsx
+++ b/cvat-ui/src/components/annotation-page/top-bar/player-navigation.tsx
@@ -35,6 +35,9 @@ function PlayerNavigation(props: Props): JSX.Element {
} = props;
const [frameInputValue, setFrameInputValue] = useState