Used line scope history
This commit is contained in:
Родитель
a00d8090c9
Коммит
bfe0682795
|
@ -52,7 +52,7 @@ namespace ReactiveHistorySample.ViewModels
|
|||
RedoCommand = new ReactiveCommand(lineHistoryScope.CanRedo, false);
|
||||
RedoCommand.Subscribe(_ => lineHistoryScope.Redo()).AddTo(this.Disposable);
|
||||
|
||||
ClearCommand = new ReactiveCommand(history.CanClear, false);
|
||||
ClearCommand = new ReactiveCommand(lineHistoryScope.CanClear, false);
|
||||
ClearCommand.Subscribe(_ => lineHistoryScope.Clear()).AddTo(this.Disposable);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче