aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/trails/PresElementBox.tsx
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2024-04-18 11:13:52 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2024-04-18 11:13:52 -0400
commit70b582db9a8cecc742be3c2b5f043a70a15c7991 (patch)
tree4f62e7a3154f5a07a9ddcd23c6442889d02d0a1c /src/client/views/nodes/trails/PresElementBox.tsx
parent4521dee394f9980a10e35d18cda5f4845eae97b3 (diff)
dropdowns, ui, roll
Diffstat (limited to 'src/client/views/nodes/trails/PresElementBox.tsx')
-rw-r--r--src/client/views/nodes/trails/PresElementBox.tsx9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/client/views/nodes/trails/PresElementBox.tsx b/src/client/views/nodes/trails/PresElementBox.tsx
index 4abfc5a94..449b8e07f 100644
--- a/src/client/views/nodes/trails/PresElementBox.tsx
+++ b/src/client/views/nodes/trails/PresElementBox.tsx
@@ -513,15 +513,16 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps>() {
</Tooltip>
);
items.push(
- <Tooltip key="customize" title={<div className="dash-tooltip">Customize</div>}>
+ <Tooltip key="edit" title={<div className="dash-tooltip">Edit</div>}>
<div
className={'slideButton'}
onClick={() => {
- PresBox.Instance.setChatActive(true);
+ PresBox.Instance.navigateToActiveItem();
+ PresBox.Instance.openProperties();
PresBox.Instance.slideToModify = this.Document;
- PresBox.Instance.recordDictation();
+ // PresBox.Instance.recordDictation();
}}>
- <FontAwesomeIcon icon={'message'} onPointerDown={e => e.stopPropagation()} />
+ <FontAwesomeIcon icon={'edit'} onPointerDown={e => e.stopPropagation()} />
</div>
</Tooltip>
);