Add basic Xamarin.Mac support
- Does not contain "magic" found in YogaKit yet, but enough to get started - Simple test project showing use
This commit is contained in:
@@ -541,6 +541,7 @@ namespace Facebook.Yoga
|
||||
return new YogaSize { width = MeasureOutput.GetWidth(output), height = MeasureOutput.GetHeight(output) };
|
||||
}
|
||||
|
||||
#if !MONOMAC
|
||||
public string Print(YogaPrintOptions options =
|
||||
YogaPrintOptions.Layout|YogaPrintOptions.Style|YogaPrintOptions.Children)
|
||||
{
|
||||
@@ -551,6 +552,7 @@ namespace Facebook.Yoga
|
||||
YogaLogger.Logger = orig;
|
||||
return sb.ToString();
|
||||
}
|
||||
#endif
|
||||
|
||||
public IEnumerator<YogaNode> GetEnumerator()
|
||||
{
|
||||
|
Reference in New Issue
Block a user