aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/trails/PresElementBox.tsx
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2024-05-14 12:19:29 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2024-05-14 12:19:29 -0400
commit255495874b3fd2644cf05f330d15194318adcc55 (patch)
tree41f73f8721acea1543432d0e4a42dfdb81069cee /src/client/views/nodes/trails/PresElementBox.tsx
parente2b4502f87cf5707a77736267a1d96261024874c (diff)
bug fixing
Diffstat (limited to 'src/client/views/nodes/trails/PresElementBox.tsx')
-rw-r--r--src/client/views/nodes/trails/PresElementBox.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/nodes/trails/PresElementBox.tsx b/src/client/views/nodes/trails/PresElementBox.tsx
index 449b8e07f..268b1c803 100644
--- a/src/client/views/nodes/trails/PresElementBox.tsx
+++ b/src/client/views/nodes/trails/PresElementBox.tsx
@@ -517,10 +517,9 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps>() {
<div
className={'slideButton'}
onClick={() => {
- PresBox.Instance.navigateToActiveItem();
+ this.presBoxView?.regularSelect(this.slideDoc, this._itemRef.current!, this._dragRef.current!, true, false);
PresBox.Instance.openProperties();
PresBox.Instance.slideToModify = this.Document;
- // PresBox.Instance.recordDictation();
}}>
<FontAwesomeIcon icon={'edit'} onPointerDown={e => e.stopPropagation()} />
</div>