Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.397 kb
function MovieRecordingProgress_OnUpdate(self, elapsed)
if(not MovieRecording_IsCompressing()) then
self:Hide();
else
local recovering, progress = MovieRecording_GetProgress();
MovieProgressBar:SetMinMaxValues(0, 1);
MovieProgressBar:SetValue(progress);
MovieProgressBarText:SetText(MOVIE_RECORDING_COMPRESSING.." "..floor(progress * 100).."%");
end
end
Jump to Line
Something went wrong with that request. Please try again.