chore(viewer): Refactor + improvement in arc/circle conversion
Fixed error in loading %
This commit is contained in:
@@ -51,7 +51,7 @@ export default class ViewerObjectLoader {
|
||||
total = obj.totalChildrenCount
|
||||
}
|
||||
current++
|
||||
this.viewer.emit( 'load-progress', { progress: current/total, id: this.objectId } )
|
||||
this.viewer.emit( 'load-progress', { progress: current/( total+1 ), id: this.objectId } )
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user