Removing use of notify to update progress bar

This commit is contained in:
Jeff Avallone committed 2015-03-14 14:01:25 -04:00
1 parent ef11adb67c
commit 3970224302
5 files changed
+69 -50

No files matched your search

-3
View File
@@ -66,7 +66,6 @@ export default class Node {
if (this.state.cancelRender) {
deferred.reject('Render cancelled');
} else {
deferred.notify(1 - this.state.renderCounter / this.state.maxCounter);
deferred.resolve.apply(this, result);
}
}, 1);
@@ -99,8 +98,6 @@ export default class Node {
startRender() {
this.state.renderCounter++;
this.state.maxCounter = Math.max(this.state.maxCounter, this.state.renderCounter);
}
doneRender() {