Comment for TextBoxHelper.AutoScrollProperty

This commit is contained in:
leo 2020-07-12 22:32:42 +08:00
parent bd96a9709f
commit 1587e65479

View file

@ -11,7 +11,7 @@ namespace SourceGit.Helpers {
public static class TextBoxHelper {
/// <summary>
/// Auto scroll on text changed.
/// Auto scroll on text changed or selection changed.
/// </summary>
public static readonly DependencyProperty AutoScrollProperty = DependencyProperty.RegisterAttached(
"AutoScroll",
@ -217,7 +217,6 @@ namespace SourceGit.Helpers {
} else if (rect.Bottom >= textBox.ActualHeight) {
textBox.ScrollToVerticalOffset(textBox.VerticalOffset + rect.Bottom);
}
}
}
}