mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-17 05:31:01 +08:00
删除无用代码
This commit is contained in:
@@ -15,6 +15,6 @@
|
||||
<Version>0.0.1-preview</Version>
|
||||
<Company>Chinware Technologies Ltd.</Company>
|
||||
<PackageProjectUrl>https://atomui.net/</PackageProjectUrl>
|
||||
<AvaloniaVersion>11.1.0-rc2</AvaloniaVersion>
|
||||
<AvaloniaVersion>11.1.0</AvaloniaVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
<PackageVersion Include="xunit.extensibility.execution" Version="2.8.0" />
|
||||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.0" />
|
||||
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.1.0" />
|
||||
<PackageVersion Include="Nlnet.Avalonia.DevTools" Version="1.0.1-beta.21" />
|
||||
|
||||
|
||||
<!-- 源码生成 -->
|
||||
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.10.0-3.final" />
|
||||
|
||||
@@ -2,7 +2,6 @@ using Avalonia;
|
||||
using Avalonia.Controls.ApplicationLifetimes;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using AtomUI.Demo.Desktop.Views;
|
||||
using Nlnet.Avalonia.DevTools;
|
||||
|
||||
namespace AtomUI.Demo.Desktop;
|
||||
|
||||
@@ -11,9 +10,6 @@ public partial class App : Application
|
||||
public override void Initialize()
|
||||
{
|
||||
AvaloniaXamlLoader.Load(this);
|
||||
#if DEBUG
|
||||
AvaloniaDevTools.UseDevTools();
|
||||
#endif
|
||||
}
|
||||
|
||||
public override void OnFrameworkInitializationCompleted()
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<linker>
|
||||
<!-- Can be removed if CompiledBinding and no reflection are used -->
|
||||
<assembly fullname="AtomUI.Demo.Desktop" preserve="All" />
|
||||
<assembly fullname="Avalonia.Themes.Fluent" preserve="All" />
|
||||
</linker>
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- This manifest is used on Windows only.
|
||||
Don't remove it as it might cause problems with window transparency and embeded controls.
|
||||
For more details visit https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests -->
|
||||
<assemblyIdentity version="1.0.0.0" name="AtomUI.Demo.Desktop"/>
|
||||
<assemblyIdentity version="0.0.1.0" name="AtomUI.Demo.Desktop"/>
|
||||
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
|
||||
@@ -95,8 +95,6 @@ public class Alert : TemplatedControl, IControlCustomStyle
|
||||
|
||||
private readonly IControlCustomStyle _customStyle;
|
||||
|
||||
private bool _scalingAwareConfigApplied = false;
|
||||
|
||||
static Alert()
|
||||
{
|
||||
AffectsMeasure<Segmented>(IsClosableProperty,
|
||||
|
||||
@@ -162,7 +162,6 @@ public partial class Separator : TemplatedControl, IControlCustomStyle
|
||||
#endregion
|
||||
|
||||
private IControlCustomStyle _customStyle;
|
||||
private bool _scalingAwareConfigApplied = false;
|
||||
private Label? _titleLabel;
|
||||
private const double SEPARATOR_LINE_MIN_PROPORTION = 0.25;
|
||||
private double _currentEdgeDistance;
|
||||
|
||||
@@ -497,7 +497,6 @@ public class ToolTip : TemplatedControl,
|
||||
private Popup? _popup;
|
||||
private Action<IPopupHost?>? _popupHostChangedHandler;
|
||||
private PopupPositionInfo? _popupPositionInfo; // 这个信息在隐藏动画的时候会用到
|
||||
private bool _initialized = false;
|
||||
private IControlCustomStyle _customStyle;
|
||||
private ArrowDecoratedBox? _arrowDecoratedBox;
|
||||
private bool _animating;
|
||||
|
||||
Reference in New Issue
Block a user