From 39e314e56abd85e864a1eaa6f1045c1f21758c62 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Tue, 6 Aug 2024 18:21:28 +0200 Subject: [PATCH 1/2] feat: Do not apply icon background on desktop, WinUI, and WASM by default --- src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets b/src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets index fe0f344df12c..e753ca0ef3d1 100644 --- a/src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets +++ b/src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets @@ -11,6 +11,9 @@ 128,128 #FFFFFF + false + true + <_UnoResizetizerIsCompatibleApp Condition=" $(_IsUnoSingleProjectAndLegacy) == 'true' @@ -23,6 +26,7 @@ ForegroundFile="$(UnoIconForegroundFile)" ForegroundScale="$(UnoIconForegroundScale)" Color="$(UnoIconBackgroundColor)" + UseIconBackground="$(UnoUseIconBackground)" IsDefaultItem="true" Exclude="@(UnoIcon)" Condition="Exists('$(UnoIconBackgroundFile)') and Exists('$(UnoIconForegroundFile)')" /> From c3187abd2dc46a582425fd2fbc368ab0bc938697 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Wed, 18 Sep 2024 14:05:57 +0200 Subject: [PATCH 2/2] chore: Adjust naming to match Resizetizer --- src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets b/src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets index e753ca0ef3d1..3f3dd1e9b321 100644 --- a/src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets +++ b/src/Uno.Sdk/targets/Uno.DefaultItems.Resizetizer.targets @@ -11,8 +11,8 @@ 128,128 #FFFFFF - false - true + false + true <_UnoResizetizerIsCompatibleApp Condition=" @@ -26,7 +26,7 @@ ForegroundFile="$(UnoIconForegroundFile)" ForegroundScale="$(UnoIconForegroundScale)" Color="$(UnoIconBackgroundColor)" - UseIconBackground="$(UnoUseIconBackground)" + UseBackgroundFile="$(UnoUseIconBackgroundFile)" IsDefaultItem="true" Exclude="@(UnoIcon)" Condition="Exists('$(UnoIconBackgroundFile)') and Exists('$(UnoIconForegroundFile)')" />