Skip to content

Commit

Permalink
Merge pull request unoplatform#15335 from unoplatform/dev/jela/cataly…
Browse files Browse the repository at this point in the history
…st-lottie-opacity

fix: [Catalyst] Ensure LottieVisualSource is transparent
  • Loading branch information
jeromelaban authored Feb 3, 2024
2 parents 6a22670 + 57b519b commit 4632296
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AddIns/Uno.UI.Lottie/LottieVisualSource.Skottie.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ private UIElement BuildRenderSurface()
#else
_softwareCanvas = new();
_softwareCanvas.PaintSurface += OnSoftwareCanvas_PaintSurface;

#if __IOS__
_softwareCanvas.Opaque = false;
#endif
return _softwareCanvas;
#endif
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@

<!-- https://github.com/xamarin/xamarin-macios/issues/14812 -->
<MtouchExtraArgs>$(MtouchExtraArgs) --marshal-objectivec-exceptions:disable</MtouchExtraArgs>

<!-- Only the invariant culture is support in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode -->
<InvariantGlobalization>false</InvariantGlobalization>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 4632296

Please sign in to comment.