chore: simplify
This commit is contained in:
parent
67e7755247
commit
d11c6a6c72
|
@ -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: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user