mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
stickers: separated stickers and stickers_select modes
This commit is contained in:
parent
dde58461b7
commit
e53ef85ae9
5 changed files with 10 additions and 22 deletions
|
@ -37,7 +37,7 @@ type Props = {
|
|||
|
||||
const DIALOG_CONTENTS = {
|
||||
[MODES.ROUTER]: RouterDialog,
|
||||
[MODES.STICKERS]: StickersDialog,
|
||||
[MODES.STICKERS_SELECT]: StickersDialog,
|
||||
[MODES.TRASH]: TrashDialog,
|
||||
[MODES.LOGO]: LogoDialog,
|
||||
[MODES.SAVE]: SaveDialog,
|
||||
|
|
|
@ -48,7 +48,7 @@ class Component extends React.PureComponent<Props, void> {
|
|||
}
|
||||
|
||||
startPolyMode = () => this.props.setMode(MODES.POLY);
|
||||
startStickerMode = () => this.props.setMode(MODES.STICKERS);
|
||||
startStickerMode = () => this.props.setMode(MODES.STICKERS_SELECT);
|
||||
startRouterMode = () => this.props.setMode(MODES.ROUTER);
|
||||
startProviderMode = () => this.props.setMode(MODES.PROVIDER);
|
||||
startTrashMode = () => this.props.setMode(MODES.TRASH);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue