Skip to content

Commit 55d8631

Browse files
committed
Add removal warning
1 parent 937c86f commit 55d8631

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Runtime/Extensions/NodeExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,7 @@ VisualElement FindIn(VisualElement root)
799799
}
800800
}
801801

802+
[Obsolete("This code will be removed soon")]
802803
static void CacheDimensions(UIDocument document)
803804
{
804805
static object GetValue(object target, string name) => target.GetType().GetField(name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic).GetValue(target);

0 commit comments

Comments
 (0)