Skip to content

Commit 2d92bee

Browse files
committed
add TupleProperty to OpenChartFinder
1 parent c29e53e commit 2d92bee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/attack_flow_builder/src/assets/scripts/OpenChartFinder/OpenChartFinder.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { unsignedMod } from "@OpenChart/Utilities";
22
import {
33
Block, DateProperty, DiagramObject, DictionaryProperty,
44
EnumProperty, FloatProperty, IntProperty, ListProperty,
5-
Property, RootProperty, StringProperty, traverse
5+
Property, RootProperty, StringProperty, traverse,
6+
TupleProperty
67
} from "@OpenChart/DiagramModel";
78
import type { SearchResult } from "./SearchResult";
89
import type { DiagramModelEditor } from "@OpenChart/DiagramEditor/index.model";
@@ -165,6 +166,8 @@ export class OpenChartFinder<
165166
// Falls through
166167
case RootProperty.name:
167168
// Falls through
169+
case TupleProperty.name:
170+
// Falls through
168171
case DictionaryProperty.name:
169172
for (const p of (property as DictionaryProperty).value.values()) {
170173
if (this.propMatchesQuery(p, query)) {

0 commit comments

Comments
 (0)