Drop unnecessary console.dir statement

This commit is contained in:
sixteenmillimeter 2020-03-09 15:58:36 -04:00
parent 1c940d6df7
commit 8d5663d3a2
3 changed files with 3 additions and 6 deletions

View File

@ -270,7 +270,6 @@ class FilmOut {
gui.spinner(false);
}
onPreExportProgress(evt, args) {
console.dir(args);
const elem = $('.progress-bar');
let progress = 0;
if (args.progress.progress) {
@ -278,7 +277,7 @@ class FilmOut {
}
elem.attr('aria-valuenow', progress);
elem.css('width', `${progress}%`);
gui.spinner(true, `Exporting frames of ${this.state.name} in ${humanizeDuration(Math.round(args.progress.estimated) * 1000)}`, true, true);
gui.spinner(true, `Exporting frames of ${this.state.name} in ${humanizeDuration(Math.round(args.progress.estimated) * 1000)}`, true, false);
}
advance() {
this.state.frame++;

File diff suppressed because one or more lines are too long

View File

@ -266,8 +266,7 @@ class FilmOut {
}
}
onPreExport (evt : Event, args : any) {
onPreExport (evt : Event, args : any) {
if (args.completed && args.completed === true) {
gui.notify('FILMOUT', `Exported frames of ${this.state.name}`);
log.info(`Exported frames of ${this.state.name}`, 'FILMOUT', true);
@ -281,7 +280,6 @@ class FilmOut {
}
onPreExportProgress (evt : Event, args : any) {
console.dir(args);
const elem : any = $('.progress-bar');
let progress : number = 0;