From 75a7c44f9615c4ac024403011a968f8b3038c500 Mon Sep 17 00:00:00 2001 From: Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> Date: Tue, 18 Jul 2023 01:00:46 -0400 Subject: added number inputs to right hand side --- src/client/views/DashboardView.tsx | 4 +- src/client/views/PropertiesButtons.tsx | 46 ----------- src/client/views/PropertiesView.scss | 2 +- src/client/views/PropertiesView.tsx | 90 +++++++++++++++------- src/client/views/UndoStack.tsx | 6 +- src/client/views/nodes/FontIconBox/FontIconBox.tsx | 5 +- src/client/views/pdf/AnchorMenu.tsx | 52 +++++++------ src/client/views/selectedDoc/SelectedDocView.tsx | 2 +- src/client/views/topbar/TopBar.tsx | 15 +--- 9 files changed, 105 insertions(+), 117 deletions(-) (limited to 'src/client/views') diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx index e574d68de..cf746bbb3 100644 --- a/src/client/views/DashboardView.tsx +++ b/src/client/views/DashboardView.tsx @@ -180,7 +180,7 @@ export class DashboardView extends React.Component { fillWidth /> - - Pin to Presentation}> - - - Show Linked Trail}> - - - make target visibility toggle on click}> - - + {this.Delete !== returnFalse && } + color={StrCast(Doc.UserDoc().userColor)} + />} + {this.PinToPres !== returnFalse && } + color={StrCast(Doc.UserDoc().userColor)} + />} + {this.ShowTargetTrail !== returnFalse && } + color={StrCast(Doc.UserDoc().userColor)} + />} + {this.IsTargetToggler !== returnFalse && } + color={StrCast(Doc.UserDoc().userColor)} + />} ); diff --git a/src/client/views/selectedDoc/SelectedDocView.tsx b/src/client/views/selectedDoc/SelectedDocView.tsx index 1c9e124a2..955a4a174 100644 --- a/src/client/views/selectedDoc/SelectedDocView.tsx +++ b/src/client/views/selectedDoc/SelectedDocView.tsx @@ -40,7 +40,7 @@ export class SelectedDocView extends React.Component { onClick: () => {DocumentManager.Instance.showDocument(doc, options, finished);} } })} - color={Colors.WHITE} + color={StrCast(Doc.UserDoc().userColor)} /> } diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx index b9d5ed924..5c5547180 100644 --- a/src/client/views/topbar/TopBar.tsx +++ b/src/client/views/topbar/TopBar.tsx @@ -119,14 +119,6 @@ export class TopBar extends React.Component { dashView?.showContextMenu(e.clientX + 20, e.clientY + 30); }} /> -