Skip to content

Commit

Permalink
fix: Fix ImageBrush.Stretch on Wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Sep 29, 2021
1 parent a2b2f12 commit 7ca6fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Uno.UI/UI/Xaml/Media/ImageBrush.wasm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ internal string ToCssBackgroundSize()
{
Stretch.Fill => "100% 100%",
Stretch.None => "auto",
Stretch.Uniform => "auto", // patch for now
Stretch.UniformToFill => "auto", // patch for now
Stretch.Uniform => "contain", // patch for now
Stretch.UniformToFill => "cover",
_ => "auto"
};
}
Expand Down

0 comments on commit 7ca6fcf

Please sign in to comment.