Logo selecting dialog

This commit is contained in:
muerwre 2018-08-27 10:41:19 +07:00
parent 8333807b31
commit eaa3594bf9
13 changed files with 210 additions and 3862 deletions

View file

@ -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"
>