diff options
author | Mehek Jethani <53710923+mehekj@users.noreply.github.com> | 2023-02-27 16:56:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 16:56:04 -0500 |
commit | 16522b5b44795f88ec0d7217f58209fbab9fd4ff (patch) | |
tree | feb939d7b16fc943bbc929c56ba84a57643d73d2 /src/client/views/nodes/DocumentView.tsx | |
parent | cfef23fbe4f3c3fee33a6b6cc5e970fe13c7d7b6 (diff) | |
parent | de60883c54d761b74017339d9d6ce441706e0f21 (diff) |
Merge pull request #161 from brown-dash/james-text-icons
Modified Formatted Text Box and Document View Context Menu Icons
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 ff6fe3712..38342b72b 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -962,12 +962,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: '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: 'Bring to Front', event: () => SelectionManager.Views().forEach(dv => dv.props.bringToFront(dv.rootDoc, false)), icon: 'arrow-up' }); + zorderItems.push({ description: 'Send to Back', event: () => SelectionManager.Views().forEach(dv => dv.props.bringToFront(dv.rootDoc, true)), icon: 'arrow-down' }); 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: 'crosshairs', + icon: 'hand-point-up', }); !zorders && cm.addItem({ description: 'ZOrder...', noexpand: true, subitems: zorderItems, icon: 'compass' }); } |