add:新设置

This commit is contained in:
2025-08-31 16:25:52 +08:00
parent 60065aab3e
commit ba21b6884d
@@ -250,6 +250,11 @@ namespace Ink_Canvas.Windows {
public string _selectedSidebarItemName = "";
public ObservableCollection<SidebarItem> SidebarItems = new ObservableCollection<SidebarItem>();
public Grid[] SettingsPanes;
public ScrollViewer[] SettingsPaneScrollViewers;
public string[] SettingsPaneTitles;
public string[] SettingsPaneNames;
public void UpdateSidebarItemsSelection() {
foreach (var si in SidebarItems) {
si.Selected = si.Name == _selectedSidebarItemName;