diff options
author | madelinegr <mgriswold99@gmail.com> | 2019-03-18 19:18:05 -0400 |
---|---|---|
committer | madelinegr <mgriswold99@gmail.com> | 2019-03-18 19:18:05 -0400 |
commit | 3a2b16fae689990a86c88ce6f8973bdd513b69ef (patch) | |
tree | d66ef1b92cb6f4df1a118b4a89914e836d315941 /src/client/views/PresentationView.tsx | |
parent | be7aa9812cfc2f486f295fa198951a6383987d6c (diff) |
deleted commented code
Diffstat (limited to 'src/client/views/PresentationView.tsx')
-rw-r--r-- | src/client/views/PresentationView.tsx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/client/views/PresentationView.tsx b/src/client/views/PresentationView.tsx index 3d833c286..e2a83e701 100644 --- a/src/client/views/PresentationView.tsx +++ b/src/client/views/PresentationView.tsx @@ -49,13 +49,7 @@ class PresentationViewItem extends React.Component<PresViewProps> { } if (index !== -1) { value.splice(index, 1) - - //TODO: do i need below lines?? - // SelectionManager.DeselectAll() - // ContextMenu.Instance.clearItems() - // return true; } - // return false } /** @@ -71,7 +65,6 @@ class PresentationViewItem extends React.Component<PresViewProps> { } // finally, if it's a normal document, then render it as such. else { - //TODO: there is a zoom event that will be merged for on click return <li className="presentationView-item" key={document.Id} > <div className="presentationView-header" onClick={() => this.openDoc(document)}>{title.Data}</div> <div className="presentation-icon" onClick={() => this.RemoveDoc(document)}>X</div></li>; @@ -123,7 +116,6 @@ export class PresentationView extends React.Component<PresViewProps> { this.props.Document.SetData(KeyStore.Data, [doc], ListField); } - //TODO: open presentation view if not already open this.props.Document.SetData(KeyStore.Width, 300, NumberField); } @@ -133,13 +125,15 @@ export class PresentationView extends React.Component<PresViewProps> { if (title && title !== "<Waiting>") { titleStr = title.Data; } - //TODO: programmatically change width let width = this.props.Document.GetNumber(KeyStore.Width, 0); return ( <div className="presentationView-cont" style={{ width: width }}> <div className="presentationView-heading"> <div className="presentationView-title">{titleStr}</div> <div className='presentation-icon' onClick={this.closePresentation}>X</div></div> + <div> + + </div> <ul> <PresentationViewItem Document={this.props.Document} |