mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
~
我是个傻子。。这破问题调试了一个小时
This commit is contained in:
parent
1087fb5086
commit
f43defb2f7
|
@ -38,7 +38,7 @@ namespace BililiveRecorder.Core
|
|||
public RecordedRoom(Settings settings, int roomid)
|
||||
{
|
||||
_settings = settings;
|
||||
_settings.PropertyChanged += _settings_PropertyChanged;
|
||||
_settings_Setup();
|
||||
|
||||
Roomid = roomid;
|
||||
|
||||
|
@ -64,6 +64,13 @@ namespace BililiveRecorder.Core
|
|||
Status = RecordStatus.Idle;
|
||||
}
|
||||
|
||||
private void _settings_Setup()
|
||||
{
|
||||
_settings.PropertyChanged += _settings_PropertyChanged;
|
||||
Processor.Clip_Future = _settings.Clip_Future;
|
||||
Processor.Clip_Past = _settings.Clip_Past;
|
||||
}
|
||||
|
||||
private void _settings_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
if (e.PropertyName == nameof(_settings.Clip_Past))
|
||||
|
|
Loading…
Reference in New Issue
Block a user