Skip to content

Commit 56c819b

Browse files
committed
fix(Facebook.CSSLayout.dll): Update reference
1 parent 1b92c6f commit 56c819b

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

ReactWindows/ReactNative/Views/Picker/ReactPickerShadowNode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public ReactPickerShadowNode()
1717
MeasureFunction = MeasurePicker;
1818
}
1919

20-
private static MeasureOutput MeasurePicker(CSSNode node, float width, float height)
20+
private static MeasureOutput MeasurePicker(CSSNode node, float width, CSSMeasureMode widthMode, float height, CSSMeasureMode heightMode)
2121
{
2222
return new MeasureOutput(width, 40);
2323
}

ReactWindows/ReactNative/Views/Progress/ProgressBarShadowNode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public ProgressBarShadowNode()
1010
MeasureFunction = MeasureProgressBar;
1111
}
1212

13-
private static MeasureOutput MeasureProgressBar(CSSNode node, float width, float height)
13+
private static MeasureOutput MeasureProgressBar(CSSNode node, float width, CSSMeasureMode widthMode, float height, CSSMeasureMode heightMode)
1414
{
1515
var adjustedHeight = CSSConstants.IsUndefined(height) ? 4 : height;
1616
return new MeasureOutput(width, adjustedHeight);

ReactWindows/ReactNative/Views/Switch/ReactSwitchShadowNode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public ReactSwitchShadowNode()
1616
MeasureFunction = MeasureSwitch;
1717
}
1818

19-
private static MeasureOutput MeasureSwitch(CSSNode node, float width, float height)
19+
private static MeasureOutput MeasureSwitch(CSSNode node, float width, CSSMeasureMode widthMode, float height, CSSMeasureMode heightMode)
2020
{
2121
// TODO: figure out how to properly measure the switch.
2222
// We are currently blocked until we switch to a UWP-specific React

ReactWindows/ReactNative/Views/Text/ReactTextShadowNode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ private static void ThrowException(string property)
371371
throw new InvalidOperationException("Property " + property + " is supported only on the outermost text block.");
372372
}
373373

374-
private static MeasureOutput MeasureText(CSSNode node, float width, float height)
374+
private static MeasureOutput MeasureText(CSSNode node, float width, CSSMeasureMode widthMode, float height, CSSMeasureMode heightMode)
375375
{
376376
// This is not a terribly efficient way of projecting the height of
377377
// the text elements. It requires that we have access to the

ReactWindows/ReactNative/Views/TextInput/ReactTextInputShadowNode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public override void OnCollectExtraUpdates(UIViewOperationQueue uiViewOperationQ
8787
}
8888
}
8989

90-
private MeasureOutput MeasureText(CSSNode node, float width, float height)
90+
private MeasureOutput MeasureText(CSSNode node, float width, CSSMeasureMode widthMode, float height, CSSMeasureMode heightMode)
9191
{
9292
_computedPadding = GetComputedPadding();
9393

512 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)