I am looking for a way to negate the effect of script call, or, so to say, unmake it. The script call is -
const s = Graphics._video.style;
s.objectFit = 'cover';
s.minWidth = '100%';
s.minHeight = '100%';
I need it for specific moment in game, but then it starts creating problems. So it would be nice if i could deactivate it somehow. I assume that i should repeat the command with different parameters, the problem is i don't know the default ones.
Or maybe there are script call to reset everything to default? Like when loading or starting a game.
const s = Graphics._video.style;
s.objectFit = 'cover';
s.minWidth = '100%';
s.minHeight = '100%';
I need it for specific moment in game, but then it starts creating problems. So it would be nice if i could deactivate it somehow. I assume that i should repeat the command with different parameters, the problem is i don't know the default ones.
Or maybe there are script call to reset everything to default? Like when loading or starting a game.