salgum1114/react-design-editor

[Bug] can't switch between 2 mode grab and selection on footer toolbar

Closed this issue · 1 comments

In mode MapEditor, I can't switch between 2 mode grab and selection on footer toolbar, When I add
this.props.canvasRef.handler.interactionHandler.selection(); and this.props.canvasRef.handler.interactionHandler.grab(); to 2 line
https://github.com/salgum1114/react-design-editor/blob/master/src/components/imagemap/ImageMapFooterToolbar.js#L63
https://github.com/salgum1114/react-design-editor/blob/master/src/components/imagemap/ImageMapFooterToolbar.js#L56
it's work!

@dungmv

Thanks! I will fixes soon.