From 3a2b16fae689990a86c88ce6f8973bdd513b69ef Mon Sep 17 00:00:00 2001 From: madelinegr Date: Mon, 18 Mar 2019 19:18:05 -0400 Subject: deleted commented code --- src/client/views/PresentationView.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src') 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 { } 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 { } // 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
  • this.openDoc(document)}>{title.Data}
    this.RemoveDoc(document)}>X
  • ; @@ -123,7 +116,6 @@ export class PresentationView extends React.Component { 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 { if (title && title !== "") { titleStr = title.Data; } - //TODO: programmatically change width let width = this.props.Document.GetNumber(KeyStore.Width, 0); return (
    {titleStr}
    X
    +
    + +