Files
story-studio/remotion/node_modules/@remotion/cli/dist/config/still-frame.js
2026-02-21 10:33:18 +01:00

17 lines
517 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStillFrame = exports.setStillFrame = void 0;
const no_react_1 = require("remotion/no-react");
let stillFrame = 0;
const setStillFrame = (frame) => {
no_react_1.NoReactInternals.validateFrame({
frame,
durationInFrames: Infinity,
allowFloats: false,
});
stillFrame = frame;
};
exports.setStillFrame = setStillFrame;
const getStillFrame = () => stillFrame;
exports.getStillFrame = getStillFrame;