From df7ff68e4ace8550675ece47d6d6f888e07d6a36 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 14 Jul 2017 12:26:33 +0200 Subject: [PATCH] Custom acrylic brush fallback mode improved --- UICompositionAnimations/Brushes/CustomAcrylicBrush.cs | 3 +++ UICompositionAnimations/Properties/AssemblyInfo.cs | 2 +- UICompositionAnimations/UICompositionAnimations.nuspec | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/UICompositionAnimations/Brushes/CustomAcrylicBrush.cs b/UICompositionAnimations/Brushes/CustomAcrylicBrush.cs index 4dc13d2..d5a1769 100644 --- a/UICompositionAnimations/Brushes/CustomAcrylicBrush.cs +++ b/UICompositionAnimations/Brushes/CustomAcrylicBrush.cs @@ -202,6 +202,9 @@ protected override async void OnDisconnected() /// private async Task SetupEffectAsync() { + // Platform check + if (ApiInformationHelper.IsMobileDevice && Mode == AcrylicEffectMode.HostBackdrop) return; + // Dictionary to track the reference and animatable parameters IDictionary sourceParameters = new Dictionary(); List animatableParameters = new List diff --git a/UICompositionAnimations/Properties/AssemblyInfo.cs b/UICompositionAnimations/Properties/AssemblyInfo.cs index 7e18e70..fa6f7e4 100644 --- a/UICompositionAnimations/Properties/AssemblyInfo.cs +++ b/UICompositionAnimations/Properties/AssemblyInfo.cs @@ -23,6 +23,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.8.3.0")] +[assembly: AssemblyVersion("2.8.4.0")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: ComVisible(false)] \ No newline at end of file diff --git a/UICompositionAnimations/UICompositionAnimations.nuspec b/UICompositionAnimations/UICompositionAnimations.nuspec index 817f5aa..8ff87a4 100644 --- a/UICompositionAnimations/UICompositionAnimations.nuspec +++ b/UICompositionAnimations/UICompositionAnimations.nuspec @@ -2,14 +2,14 @@ Sergio0694.UWP.UICompositionAnimations - 2.8.3.0 + 2.8.4.0 UICompositionAnimations A wrapper UWP PCL to work with Windows.UI.Composition and XAML animations, and Win2D effects Sergio Pedri Sergio Pedri https://github.com/Sergio0694/UICompositionAnimations false - Custom acrylic brush improved, bug fixes and code refactoring + Custom acrylic brush fallback mode improved, bug fixes Copyright 2017 uwp composition animations xaml csharp windows winrt universal app ui win2d graphics