Merge pull request #159 from CatalystCode/dirty
Need dirty() to be virtual to override in special cases.
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Facebook.CSSLayout
|
|||||||
{
|
{
|
||||||
public static class CSSConstants
|
public static class CSSConstants
|
||||||
{
|
{
|
||||||
public static readonly float Undefined = float.NaN;
|
public const float Undefined = float.NaN;
|
||||||
|
|
||||||
public static bool IsUndefined(float value)
|
public static bool IsUndefined(float value)
|
||||||
{
|
{
|
||||||
|
@@ -179,7 +179,7 @@ namespace Facebook.CSSLayout
|
|||||||
get { return mLayoutState == LayoutState.HAS_NEW_LAYOUT; }
|
get { return mLayoutState == LayoutState.HAS_NEW_LAYOUT; }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal protected void dirty()
|
internal protected virtual void dirty()
|
||||||
{
|
{
|
||||||
if (mLayoutState == LayoutState.DIRTY)
|
if (mLayoutState == LayoutState.DIRTY)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user