This commit is contained in:
React-Native-Windows Bot 2024-11-03 20:03:33 -08:00
Родитель 6f6cf9bef7
Коммит 51f9c818ef
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -853,7 +853,7 @@ bool BorderPrimitive::TryUpdateSpecialBorderLayers(
float extentHeight = layoutMetrics.frame.size.height * layoutMetrics.pointScaleFactor;
if (borderMetrics.borderRadii.topLeft != 0 || borderMetrics.borderRadii.bottomLeft != 0 ||
borderMetrics.borderRadii.topLeft != 0 || borderMetrics.borderRadii.bottomLeft != 0) {
borderMetrics.borderRadii.topRight != 0 || borderMetrics.borderRadii.bottomRight != 0) {
auto compContext = m_outer->CompositionContext();
if (borderStyle == facebook::react::BorderStyle::Dotted || borderStyle == facebook::react::BorderStyle::Dashed) {
// Because in DirectX geometry starts at the center of the stroke, we need to deflate