mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
Logo selecting dialog
This commit is contained in:
parent
8333807b31
commit
eaa3594bf9
13 changed files with 210 additions and 3862 deletions
|
@ -18,6 +18,8 @@ export class EditorPanel extends React.PureComponent {
|
|||
|
||||
startTrashMode = () => this.props.editor.changeMode(MODES.TRASH);
|
||||
|
||||
startLogoMode = () => this.props.editor.changeMode(MODES.LOGO);
|
||||
|
||||
render() {
|
||||
const {
|
||||
mode, routerPoints, editor, totalDistance, estimateTime, activeSticker
|
||||
|
@ -97,6 +99,13 @@ export class EditorPanel extends React.PureComponent {
|
|||
<Icon icon="icon-trash" />
|
||||
</button>
|
||||
|
||||
<button
|
||||
className={classnames({ active: mode === MODES.LOGO })}
|
||||
onClick={this.startLogoMode}
|
||||
>
|
||||
<Icon icon="icon-logo" />
|
||||
</button>
|
||||
|
||||
<button
|
||||
className="highlighted"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue