Skip to content

Commit

Permalink
Update to 11.0.0-preview7
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes committed Apr 25, 2023
1 parent f6a5385 commit 3628d35
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build/Avalonia.Desktop.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" Version="11.0.0-preview6" />
<PackageReference Include="Avalonia.Desktop" Version="11.0.0-preview7" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.Diagnostics.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Diagnostics" Version="11.0.0-preview6" />
<PackageReference Include="Avalonia.Diagnostics" Version="11.0.0-preview7" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.ReactiveUI.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.0-preview6" />
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.0-preview7" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.Skia.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Skia" Version="11.0.0-preview6" />
<PackageReference Include="Avalonia.Skia" Version="11.0.0-preview7" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions build/Avalonia.Themes.Fluent.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview6" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.0-preview6" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview7" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.0-preview7" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.Web.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Browser" Version="11.0.0-preview6" />
<PackageReference Include="Avalonia.Browser" Version="11.0.0-preview7" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.0.0-preview6" />
<PackageReference Include="Avalonia" Version="11.0.0-preview7" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Base.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VersionPrefix>0.6.0</VersionPrefix>
<VersionSuffix>preview6</VersionSuffix>
<VersionSuffix>preview7</VersionSuffix>
<AvaloniaVersionPrefix>11.0.0</AvaloniaVersionPrefix>
<AvaloniaVersionSuffix>$(VersionSuffix)</AvaloniaVersionSuffix>
<Authors>Wiesław Šoltés</Authors>
Expand Down
2 changes: 1 addition & 1 deletion samples/AvaloniaSvgSkiaSample/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private void DragOver(object sender, DragEventArgs e)

private void Drop(object sender, DragEventArgs e)
{
if (e.Data.Contains(DataFormats.FileNames))
if (e.Data.Contains(DataFormats.Files))
{
var fileName = e.Data.GetFileNames()?.FirstOrDefault();
if (!string.IsNullOrWhiteSpace(fileName))
Expand Down
2 changes: 1 addition & 1 deletion samples/TestApp/Views/MainView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ListBox Grid.Column="0"
Grid.Row="1"
Margin="6,0,6,0"
Items="{Binding FilteredItems}"
ItemsSource="{Binding FilteredItems}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}">
<ListBox.Styles>
<Style Selector="ListBoxItem">
Expand Down
4 changes: 2 additions & 2 deletions src/Svg.Model/Drawables/Elements/TextDrawable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ internal void DrawTextPath(SvgTextPath svgTextPath, ref float currentX, ref floa
if (SvgExtensions.IsValidFill(svgTextPath))
{
var skPaint = SvgExtensions.GetFillPaint(svgTextPath, skBounds, AssetLoader, References, ignoreAttributes);
if (skPaint is { })
if (skPaint is { } && text is { })
{
SvgExtensions.SetPaintText(svgTextPath, skBounds, skPaint);
skCanvas.DrawTextOnPath(text, skPath, hOffset, vOffset, skPaint);
Expand All @@ -545,7 +545,7 @@ internal void DrawTextPath(SvgTextPath svgTextPath, ref float currentX, ref floa
if (SvgExtensions.IsValidStroke(svgTextPath, skBounds))
{
var skPaint = SvgExtensions.GetStrokePaint(svgTextPath, skBounds, AssetLoader, References, ignoreAttributes);
if (skPaint is { })
if (skPaint is { } && text is { })
{
SvgExtensions.SetPaintText(svgTextPath, skBounds, skPaint);
skCanvas.DrawTextOnPath(text, skPath, hOffset, vOffset, skPaint);
Expand Down

0 comments on commit 3628d35

Please sign in to comment.