Skip to content

Commit 3628d35

Browse files
committed
Update to 11.0.0-preview7
1 parent f6a5385 commit 3628d35

11 files changed

+13
-13
lines changed

build/Avalonia.Desktop.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<PackageReference Include="Avalonia.Desktop" Version="11.0.0-preview6" />
4+
<PackageReference Include="Avalonia.Desktop" Version="11.0.0-preview7" />
55
</ItemGroup>
66
</Project>

build/Avalonia.Diagnostics.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<PackageReference Include="Avalonia.Diagnostics" Version="11.0.0-preview6" />
4+
<PackageReference Include="Avalonia.Diagnostics" Version="11.0.0-preview7" />
55
</ItemGroup>
66
</Project>

build/Avalonia.ReactiveUI.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.0-preview6" />
4+
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.0-preview7" />
55
</ItemGroup>
66
</Project>

build/Avalonia.Skia.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<PackageReference Include="Avalonia.Skia" Version="11.0.0-preview6" />
4+
<PackageReference Include="Avalonia.Skia" Version="11.0.0-preview7" />
55
</ItemGroup>
66
</Project>

build/Avalonia.Themes.Fluent.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview6" />
5-
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.0-preview6" />
4+
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview7" />
5+
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.0-preview7" />
66
</ItemGroup>
77
</Project>

build/Avalonia.Web.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<PackageReference Include="Avalonia.Browser" Version="11.0.0-preview6" />
4+
<PackageReference Include="Avalonia.Browser" Version="11.0.0-preview7" />
55
</ItemGroup>
66
</Project>

build/Avalonia.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<PackageReference Include="Avalonia" Version="11.0.0-preview6" />
4+
<PackageReference Include="Avalonia" Version="11.0.0-preview7" />
55
</ItemGroup>
66
</Project>

build/Base.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<VersionPrefix>0.6.0</VersionPrefix>
5-
<VersionSuffix>preview6</VersionSuffix>
5+
<VersionSuffix>preview7</VersionSuffix>
66
<AvaloniaVersionPrefix>11.0.0</AvaloniaVersionPrefix>
77
<AvaloniaVersionSuffix>$(VersionSuffix)</AvaloniaVersionSuffix>
88
<Authors>Wiesław Šoltés</Authors>

samples/AvaloniaSvgSkiaSample/MainWindow.axaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private void DragOver(object sender, DragEventArgs e)
7878

7979
private void Drop(object sender, DragEventArgs e)
8080
{
81-
if (e.Data.Contains(DataFormats.FileNames))
81+
if (e.Data.Contains(DataFormats.Files))
8282
{
8383
var fileName = e.Data.GetFileNames()?.FirstOrDefault();
8484
if (!string.IsNullOrWhiteSpace(fileName))

samples/TestApp/Views/MainView.axaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<ListBox Grid.Column="0"
2929
Grid.Row="1"
3030
Margin="6,0,6,0"
31-
Items="{Binding FilteredItems}"
31+
ItemsSource="{Binding FilteredItems}"
3232
SelectedItem="{Binding SelectedItem, Mode=TwoWay}">
3333
<ListBox.Styles>
3434
<Style Selector="ListBoxItem">

src/Svg.Model/Drawables/Elements/TextDrawable.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ internal void DrawTextPath(SvgTextPath svgTextPath, ref float currentX, ref floa
535535
if (SvgExtensions.IsValidFill(svgTextPath))
536536
{
537537
var skPaint = SvgExtensions.GetFillPaint(svgTextPath, skBounds, AssetLoader, References, ignoreAttributes);
538-
if (skPaint is { })
538+
if (skPaint is { } && text is { })
539539
{
540540
SvgExtensions.SetPaintText(svgTextPath, skBounds, skPaint);
541541
skCanvas.DrawTextOnPath(text, skPath, hOffset, vOffset, skPaint);
@@ -545,7 +545,7 @@ internal void DrawTextPath(SvgTextPath svgTextPath, ref float currentX, ref floa
545545
if (SvgExtensions.IsValidStroke(svgTextPath, skBounds))
546546
{
547547
var skPaint = SvgExtensions.GetStrokePaint(svgTextPath, skBounds, AssetLoader, References, ignoreAttributes);
548-
if (skPaint is { })
548+
if (skPaint is { } && text is { })
549549
{
550550
SvgExtensions.SetPaintText(svgTextPath, skBounds, skPaint);
551551
skCanvas.DrawTextOnPath(text, skPath, hOffset, vOffset, skPaint);

0 commit comments

Comments
 (0)