diff options
author | Mehek Jethani <53710923+mehekj@users.noreply.github.com> | 2023-02-22 17:28:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 17:28:13 -0500 |
commit | 88706e3fcd42829a5c53cfce96a98a4a227ba57f (patch) | |
tree | b981414f5a8544598da175662db430bd6e567813 /src/client/views/nodes/DocumentView.tsx | |
parent | e269e624599802ab4553cd5dc9ab3b660e7700fc (diff) | |
parent | 9c5af8a72d28639a9a006746d853846db1a0d29f (diff) |
Merge pull request #159 from brown-dash/UI_Update_Eric_Ma
Icons for image context menu
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index c3b0412de..5f81c8a8d 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -959,12 +959,12 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps if (this.props.bringToFront !== emptyFunction) { const zorders = cm.findByDescription('ZOrder...'); const zorderItems: ContextMenuProps[] = zorders && 'subitems' in zorders ? zorders.subitems : []; - zorderItems.push({ description: 'Bring to Front', event: () => SelectionManager.Views().forEach(dv => dv.props.bringToFront(dv.rootDoc, false)), icon: 'expand-arrows-alt' }); - zorderItems.push({ description: 'Send to Back', event: () => SelectionManager.Views().forEach(dv => dv.props.bringToFront(dv.rootDoc, true)), icon: 'expand-arrows-alt' }); + zorderItems.push({ description: 'Bring to Front', event: () => SelectionManager.Views().forEach(dv => dv.props.bringToFront(dv.rootDoc, false)), icon: 'arrow-right' }); + zorderItems.push({ description: 'Send to Back', event: () => SelectionManager.Views().forEach(dv => dv.props.bringToFront(dv.rootDoc, true)), icon: 'arrow-left' }); zorderItems.push({ description: this.rootDoc._raiseWhenDragged !== false ? 'Keep ZIndex when dragged' : 'Allow ZIndex to change when dragged', event: undoBatch(action(() => (this.rootDoc._raiseWhenDragged = this.rootDoc._raiseWhenDragged === undefined ? false : undefined))), - icon: 'expand-arrows-alt', + icon: 'crosshairs', }); !zorders && cm.addItem({ description: 'ZOrder...', noexpand: true, subitems: zorderItems, icon: 'compass' }); } |