Fixed little bug with UDP
This commit is contained in:
parent
fc46080e4b
commit
1f8eabf588
@ -18,6 +18,7 @@ function Listener (dotgrid) {
|
||||
}
|
||||
|
||||
function operate (data) {
|
||||
if(!data){ return }
|
||||
if(!dotgrid.tool.layers[data.layer]){ return }
|
||||
dotgrid.tool.index = data.layer
|
||||
dotgrid.tool.addSegment(data.type, [data.from, data.to])
|
||||
|
Loading…
Reference in New Issue
Block a user