Skip to content

Commit

Permalink
#4985 -added retrosynthetic arrow to the leftbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Vialov committed Aug 2, 2024
1 parent 9a0f30c commit 1477f43
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ import SnakeLayoutIcon from '../../../assets/icons/files/snake-layout-mode.svg';
import SequenceLayoutIcon from '../../../assets/icons/files/sequence-layout-mode.svg';
import QuestionMark from '../../../assets/icons/files/questionMark.svg';
import Nucleotide from '../../../assets/icons/files/nucleotide.svg';
import RetroSyntheticArrow from '../../../assets/icons/files/retrosynthetic_arrow.svg';
import { RASTER_IMAGE_KEY } from 'ketcher-core';

export const iconNameToIcon = {
Expand Down Expand Up @@ -348,6 +349,7 @@ export const iconNameToIcon = {
'reaction-arrow-filled-bow': ReactionArrowFilledBow,
'reaction-arrow-dashed-open-angle': ReactionArrowDashedOpenAngle,
'reaction-arrow-failed': ReactionArrowFailed,
'retrosynthetic-arrow': RetroSyntheticArrow,
'reaction-arrow-both-ends-filled-triangle':
ReactionArrowBothEndsFilledTriangle,
'reaction-arrow-equilibrium-filled-half-bow':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const arrowsOptions: ToolbarItem[] = makeItems([
'reaction-arrow-filled-bow',
'reaction-arrow-dashed-open-angle',
'reaction-arrow-failed',
'retrosynthetic-arrow',
'reaction-arrow-both-ends-filled-triangle',
'reaction-arrow-equilibrium-filled-half-bow',
'reaction-arrow-equilibrium-filled-triangle',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ type LeftToolbarItemVariant =
| 'reaction-arrow-filled-bow'
| 'reaction-arrow-dashed-open-angle'
| 'reaction-arrow-failed'
| 'retrosynthetic-arrow'
| 'reaction-arrow-both-ends-filled-triangle'
| 'reaction-arrow-equilibrium-filled-half-bow'
| 'reaction-arrow-equilibrium-filled-triangle'
Expand Down

0 comments on commit 1477f43

Please sign in to comment.