lint
This commit is contained in:
parent
acf882e081
commit
59472b8014
@ -27,14 +27,13 @@ export class AnnotationDrawService {
|
||||
annotationManager.drawAnnotationsFromList(annotations);
|
||||
|
||||
this._redactionLogControllerService.getSectionGrid(this._appStateService.activeFileId).subscribe((sectionGrid) => {
|
||||
console.log(sectionGrid);
|
||||
this.drawSections(activeViewer, sectionGrid);
|
||||
});
|
||||
}
|
||||
|
||||
public drawSections(activeViewer: WebViewerInstance, sectionGrid: SectionGrid) {
|
||||
const sections = [];
|
||||
for (let page of Object.keys(sectionGrid.rectanglesPerPage)) {
|
||||
for (const page of Object.keys(sectionGrid.rectanglesPerPage)) {
|
||||
const sectionRectangles: SectionRectangle[] = sectionGrid.rectanglesPerPage[page];
|
||||
sectionRectangles.forEach((sectionRectangle) => {
|
||||
sections.push(this.computeSection(activeViewer, parseInt(page, 10), sectionRectangle));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user