Implement multiple static matching.
This commit is contained in:
@@ -48,8 +48,8 @@ namespace Cryville.Crtr {
|
||||
ChartPlayer.etor.ContextTransform = null;
|
||||
foreach (var r in rel.elements) {
|
||||
try {
|
||||
var new_anchor = r.Key.MatchStatic(context, anchor);
|
||||
if (new_anchor != null) {
|
||||
var new_anchors = r.Key.MatchStatic(context, anchor);
|
||||
if (new_anchors != null) foreach (var new_anchor in new_anchors) {
|
||||
MatchStatic(r.Value, context, new_anchor);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user