fixes console error on send to resource
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
parent
bd5c93ce58
commit
9c0f6df20b
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ const stampTool = () =>
|
||||||
};
|
};
|
||||||
|
|
||||||
state.movecb = (evn) => {
|
state.movecb = (evn) => {
|
||||||
if (evn.target.id === "overlayCanvas") {
|
if (evn.target && evn.target.id === "overlayCanvas") {
|
||||||
let x = evn.x;
|
let x = evn.x;
|
||||||
let y = evn.y;
|
let y = evn.y;
|
||||||
if (state.snapToGrid) {
|
if (state.snapToGrid) {
|
||||||
|
|
Loading…
Reference in a new issue