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); gui.spinner(false);
} }
onPreExportProgress(evt, args) { onPreExportProgress(evt, args) {
console.dir(args);
const elem = $('.progress-bar'); const elem = $('.progress-bar');
let progress = 0; let progress = 0;
if (args.progress.progress) { if (args.progress.progress) {
@ -278,7 +277,7 @@ class FilmOut {
} }
elem.attr('aria-valuenow', progress); elem.attr('aria-valuenow', progress);
elem.css('width', `${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() { advance() {
this.state.frame++; this.state.frame++;

File diff suppressed because one or more lines are too long

View File

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