Commit 715dce3 1 parent 5060a29 commit 715dce3 Copy full SHA for 715dce3
File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -601,6 +601,13 @@ winrt::CompositionEffectBrush AcrylicBrush::CreateAcrylicBrushWorker(
601
601
}
602
602
}
603
603
604
+ #ifndef BUILD_WINDOWS
605
+ if (acrylicBrush)
606
+ {
607
+ acrylicBrush.Properties ().InsertScalar (L" ShouldRenderAsFallbackInIslands" , 1 .0f );
608
+ }
609
+ #endif
610
+
604
611
return acrylicBrush;
605
612
}
606
613
Original file line number Diff line number Diff line change @@ -699,6 +699,13 @@ void RevealBrush::CreateRevealBrush()
699
699
m_brush = compositor.CreateColorBrush (fallbackColor);
700
700
}
701
701
}
702
+
703
+ #ifndef BUILD_WINDOWS
704
+ if (m_brush)
705
+ {
706
+ m_brush.Properties ().InsertScalar (L" ShouldRenderAsFallbackInIslands" , 1 .0f );
707
+ }
708
+ #endif
702
709
}
703
710
704
711
void RevealBrush::UpdateRevealBrush ()
You can’t perform that action at this time.
0 commit comments