diff options
| author | eperelm2 <emily_perelman@brown.edu> | 2023-06-14 12:59:02 -0400 |
|---|---|---|
| committer | eperelm2 <emily_perelman@brown.edu> | 2023-06-14 12:59:02 -0400 |
| commit | 31311af1d7a10883f2f9e0fb84cb279da6a318be (patch) | |
| tree | 2d988967a09e1064bf0226e88aa26cf651318397 /src/client/views/PropertiesView.tsx | |
| parent | 6de23b772d7d40d75d60abd3343c1f6fd684b06f (diff) | |
basics double clicking, fixed customizable options for icons and text
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
| -rw-r--r-- | src/client/views/PropertiesView.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index d956c874c..8d496e992 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -1201,13 +1201,12 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { } @computed get linksSubMenu() { - // this.linkCount - // this.links + // onPointerDown={action(() => (this.openLinks = !this.openLinks))} return ( <div className="propertiesView-contexts"> - <div className="propertiesView-contexts-title" onPointerDown={action(() => (this.openLinks = !this.openLinks))} style={{ backgroundColor: this.openLinks ? 'black' : '' }}> + <div className="propertiesView-contexts-title" onDoubleClick={action(() => (this.openContexts = !this.openContexts, this.openOptions = !this.openOptions, this.openTransform = !this.openTransform))} onClick={action(() => (this.openLinks = !this.openLinks))} style={{ backgroundColor: this.openLinks ? 'black' : '' }}> Linked To <div className="propertiesView-contexts-title-icon"> <FontAwesomeIcon icon={this.openLinks ? 'caret-down' : 'caret-right'} size="lg" color="white" /> |
