@ -31,7 +31,6 @@ const MinimalButton = (props: MinimalButtonProps) => {
export const MinimalTools = () => {
const status = useSelector(statusSelector);
console.log(status);
if (status === Status.CreateOverlay || status === Status.EditOverlay) {
return (
<>
@ -317,6 +317,7 @@ export class MapEditor extends Emitter implements IMapEditor {
}
_onOverlayDragEnd(id: string) {
if (this.editorStatus === "editing") return;
this._updateOverlay(id);