diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-09-30 14:01:59 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-09-30 14:01:59 -0400 |
| commit | d7f515f32de780884774e7bbdcc1cfe78733af45 (patch) | |
| tree | 76d77162c54ef732e17813f77253eafb263840e8 /src/client/views/presentationview/PresentationList.tsx | |
| parent | d49e573d62fb9caee0568b454cb3555775a887ff (diff) | |
a bunch of changes to presentation view ... more coming.
Diffstat (limited to 'src/client/views/presentationview/PresentationList.tsx')
| -rw-r--r-- | src/client/views/presentationview/PresentationList.tsx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/client/views/presentationview/PresentationList.tsx b/src/client/views/presentationview/PresentationList.tsx index da48a856a..483461e5a 100644 --- a/src/client/views/presentationview/PresentationList.tsx +++ b/src/client/views/presentationview/PresentationList.tsx @@ -12,11 +12,9 @@ interface PresListProps { mainDocument: Doc; deleteDocument(index: number): void; gotoDocument(index: number, fromDoc: number): Promise<void>; - PresElementsMappings: Map<Doc, PresentationElement>; setChildrenDocs: (docList: Doc[]) => void; presStatus: boolean; removeDocByRef(doc: Doc): boolean; - clearElemMap(): void; } @@ -45,16 +43,10 @@ export default class PresentationViewList extends React.Component<PresListProps> const children = DocListCast(this.props.mainDocument.data); this.initializeScaleViews(children); this.props.setChildrenDocs(children); - this.props.clearElemMap(); return ( <div className="presentationView-listCont" > {children.map((doc: Doc, index: number) => <PresentationElement - ref={(e) => { - if (e && e !== null) { - this.props.PresElementsMappings.set(doc, e); - } - }} key={doc[Id]} mainDocument={this.props.mainDocument} document={doc} @@ -64,7 +56,6 @@ export default class PresentationViewList extends React.Component<PresListProps> allListElements={children} presStatus={this.props.presStatus} removeDocByRef={this.props.removeDocByRef} - PresElementsMappings={this.props.PresElementsMappings} /> )} </div> |
