add super intelligent save button cuz torch is trash

This commit is contained in:
zznty
2022-10-23 21:27:06 +07:00
parent de7e9e616f
commit d16cdd11a1
4 changed files with 41 additions and 3 deletions

View File

@@ -25,9 +25,8 @@ public class Plugin : TorchPluginBase, IWpfPlugin
.AddFactory(s => new ChatMonitorManager(s.Torch));
}
public UserControl GetControl() => new PropertyGrid
public UserControl GetControl() => new ConfigControl(_config)
{
Margin = new(3),
DataContext = _config.Data
};
}