mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-25 19:49:43 +08:00
jump list fix
This commit is contained in:
@@ -23,7 +23,7 @@ namespace System.Application.UI.Views
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
sp.Margin = new Avalonia.Thickness(0, 0, 140, 0);
|
||||
else
|
||||
sp.Margin = new Avalonia.Thickness(0, 12, 10, 0);
|
||||
sp.Margin = new Avalonia.Thickness(0, 6, 10, 0);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace System.Application.UI
|
||||
var jumpList1 = new JumpList
|
||||
{
|
||||
ShowRecentCategory = true,
|
||||
ShowFrequentCategory = true,
|
||||
ShowFrequentCategory = false,
|
||||
};
|
||||
//jumpList1.JumpItemsRejected += JumpList1_JumpItemsRejected;
|
||||
//jumpList1.JumpItemsRemovedByUser += JumpList1_JumpItemsRemovedByUser;
|
||||
@@ -39,6 +39,12 @@ namespace System.Application.UI
|
||||
// WorkingDirectory = @"C:\Users\Public\Documents",
|
||||
// Arguments = "readme.txt",
|
||||
//});
|
||||
//JumpList jumpList1 = JumpList.GetJumpList(AvaloniaApplication.Current);
|
||||
//if (jumpList1 != null)
|
||||
//{
|
||||
// jumpList1.JumpItems.Clear();
|
||||
// jumpList1.Apply();
|
||||
//}
|
||||
JumpList.SetJumpList(AvaloniaApplication.Current, jumpList1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user