Fix "at anchor" selector not working in effects.

This commit is contained in:
2023-03-30 14:16:25 +08:00
parent ee4b0c5483
commit 0c796c4d7a
7 changed files with 32 additions and 23 deletions

View File

@@ -104,7 +104,7 @@ namespace Cryville.Crtr {
return g.OpenedAnchorName == Name ? c : null;
}
public override bool IsUpdatable(ISkinnableGroup g, int dl) {
return dl >= 1;
return dl >= g.AtAnchorDynamicLevel;
}
}
public class Property : SkinSelector {