diff options
author | bobzel <zzzman@gmail.com> | 2020-09-07 12:00:00 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-07 12:00:00 -0400 |
commit | ceb892fe906c5936f5b5b4e65ea3a4e1c05aa289 (patch) | |
tree | de0069ee03d3bc2a02664a2d5b2604a62b36fff3 /src/client/views/DocumentButtonBar.tsx | |
parent | 004335fc4052205d6972b3f9efa8b65e5d384006 (diff) | |
parent | 57f38d12df47b4bc48ea484ea4023455ce5156a4 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/DocumentButtonBar.tsx')
-rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index cf2bd5176..bbe60776f 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -226,7 +226,7 @@ export class DocumentButtonBar extends React.Component<{ views: () => (DocumentV @computed get moreButton() { const targetDoc = this.view0?.props.Document; - return !targetDoc ? (null) : <Tooltip title={<><div className="dash-tooltip">{"Open Properties Panel"}</div></>}> + return !targetDoc ? (null) : <Tooltip title={<><div className="dash-tooltip">{`${CurrentUserUtils.propertiesWidth > 0 ? "Close" : "Open"} Properties Panel`}</div></>}> <div className="documentButtonBar-linker" style={{ color: "white" }} onClick={action(e => CurrentUserUtils.propertiesWidth = CurrentUserUtils.propertiesWidth > 0 ? 0 : 250)}> <FontAwesomeIcon className="documentdecorations-icon" size="sm" icon="ellipsis-h" |