File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ public CommandLog SelectedLog
1919 public ViewLogs ( Repository repo )
2020 {
2121 _repo = repo ;
22+ _selectedLog = repo . Logs ? . Count > 0 ? repo . Logs [ 0 ] : null ;
2223 }
2324
2425 public void ClearAll ( )
Original file line number Diff line number Diff line change @@ -93,12 +93,14 @@ public string PureText
9393 TextArea . TextView . Margin = new Thickness ( 4 , 0 ) ;
9494 TextArea . TextView . Options . EnableHyperlinks = false ;
9595 TextArea . TextView . Options . EnableEmailHyperlinks = false ;
96+ TextArea . TextView . Options . AllowScrollBelowDocument = false ;
9697 }
9798
9899 public void OnReceiveCommandLog ( string line )
99100 {
100101 AppendText ( "\n " ) ;
101102 AppendText ( line ) ;
103+ ScrollToEnd ( ) ;
102104 }
103105
104106 protected override void OnLoaded ( RoutedEventArgs e )
You can’t perform that action at this time.
0 commit comments