Skip to content

Commit 150d263

Browse files
love-lingerbiancode
authored andcommitted
enhance: disable AllowScrollBelowDocument option for text diff view (sourcegit-scm#1801)
Signed-off-by: leo <longshuang@msn.cn>
1 parent 5b02f77 commit 150d263

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Views/TextDiffView.axaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ public ThemedTextDiffPresenter(TextArea area, TextDocument doc) : base(area, doc
521521
Options.EnableHyperlinks = false;
522522
Options.EnableEmailHyperlinks = false;
523523
Options.ShowEndOfLine = false;
524+
Options.AllowScrollBelowDocument = false;
524525

525526
_lineStyleTransformer = new LineStyleTransformer(this);
526527

0 commit comments

Comments
 (0)