Need dirty() to be virtual to override in special cases.
See, for example ReactShadowNode in the ReactAndroid code base, which overrides this virtual.
This commit is contained in:
@@ -179,7 +179,7 @@ namespace Facebook.CSSLayout
|
||||
get { return mLayoutState == LayoutState.HAS_NEW_LAYOUT; }
|
||||
}
|
||||
|
||||
internal protected void dirty()
|
||||
internal protected virtual void dirty()
|
||||
{
|
||||
if (mLayoutState == LayoutState.DIRTY)
|
||||
{
|
||||
|
Reference in New Issue
Block a user