update with 11.0.5 rc2
This commit is contained in:
Родитель
57f500acf7
Коммит
44240ee198
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using Avalonia.Animation;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace ControlCatalogStandalone.Pages
|
||||
|
@ -12,13 +13,13 @@ namespace ControlCatalogStandalone.Pages
|
|||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void OnLoaded()
|
||||
protected override void OnLoaded(RoutedEventArgs e)
|
||||
{
|
||||
left.Click += (s, e) => carousel?.Previous();
|
||||
right.Click += (s, e) => carousel?.Next();
|
||||
transition.SelectionChanged += TransitionChanged;
|
||||
orientation.SelectionChanged += TransitionChanged;
|
||||
base.OnLoaded();
|
||||
base.OnLoaded(e);
|
||||
}
|
||||
|
||||
private void TransitionChanged(object? sender, SelectionChangedEventArgs e)
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace ControlCatalogStandalone.Pages
|
|||
public partial class GesturePage : UserControl
|
||||
{
|
||||
private bool _isInit;
|
||||
private float _currentScale;
|
||||
private double _currentScale;
|
||||
|
||||
public GesturePage()
|
||||
{
|
||||
|
@ -65,7 +65,7 @@ namespace ControlCatalogStandalone.Pages
|
|||
}
|
||||
|
||||
_currentScale = 1;
|
||||
Vector3 currentOffset = default;
|
||||
Vector3D currentOffset = default;
|
||||
|
||||
CompositionVisual? compositionVisual = null;
|
||||
|
||||
|
@ -153,7 +153,7 @@ namespace ControlCatalogStandalone.Pages
|
|||
|
||||
var ball = control.FindLogicalDescendantOfType<Border>();
|
||||
|
||||
Vector3 defaultOffset = default;
|
||||
Vector3D defaultOffset = default;
|
||||
|
||||
CompositionVisual? ballCompositionVisual = null;
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<Nullable>enable</Nullable>
|
||||
<AvaloniaVersion>11.0.0</AvaloniaVersion>
|
||||
<AvaloniaVersion>11.0.999-cibuild0040511-beta</AvaloniaVersion>
|
||||
<RestoreSources>
|
||||
https://api.nuget.org/v3/index.json;
|
||||
https://nuget-feed-nightly.avaloniaui.net/v3/index.json;
|
||||
</RestoreSources>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче