chore: simplify

This commit is contained in:
cha0s 2019-05-28 20:35:32 -05:00
parent 67e7755247
commit d11c6a6c72

View File

@ -28,20 +28,15 @@ export function hoeJSON() {
},
tool: {
params: {
condition: buildCondition(
'or',
[
buildCondition('contains', [
[1, 2, 3, 4],
buildInvoke(
['user', 'layer', 'tileAt'],
[
buildTraversal(['target']),
],
),
]),
],
),
condition: buildCondition('contains', [
[1, 2, 3, 4],
buildInvoke(
['user', 'layer', 'tileAt'],
[
buildTraversal(['target']),
],
),
]),
actions: {
type: 'actions',
traversals: [