在 `EditorWin.xaml.cs` 中: - 添加了 `System.Text.Encodings.Web` 和 `System.Text.Json` 的引用。 - 在 `TreeView_AddTabItem` 方法中,添加了对 `title` 为空的检查。 - 将 `UpdateUI` 事件替换为 `SavePointLeft` 事件。 - 将 `KeyDown` 事件替换为 `PreviewKeyDown` 事件。 - 添加了对 `Ctrl + Alt + L` 快捷键的处理,用于格式化 JSON 文本。 在 `RustTools.csproj` 中: - 更新了多个包的版本,包括 `CommunityToolkit.Mvvm`、`Microsoft.Extensions.Hosting`、`Microsoft.WindowsAppSDK`、`System.Management` 和 `WinUIEx`。 - 移除了 `Microsoft.Windows.CsWinRT` 包的引用。 - 添加了 `CommunityToolkit.WinUI.Controls.Sizers` 包的引用。 在 `ButtonViewModel.cs` 中: - 移除了 `ButtonViewModel` 类及其内容。 在 `RankingViewModel.cs` 中: - 在 `RankingList` 为空时,添加了对 `modData` 和 `modData.Data` 为空的检查。 - 更新了 `item.Icon` 的替换逻辑。 在 `UserPage.xaml.cs` 中: - 在用户登录逻辑中,添加了对 `userSpaceInfo` 为空的检查。 |
||
---|---|---|
.. | ||
EditorLoad.cs | ||
EditorTreeView.cs | ||
EditorWin.xaml | ||
EditorWin.xaml.cs | ||
ExplorerItemTemplateSelector.cs | ||
FileItem.cs |