chore: fix mangled comment

This commit is contained in:
Anna 2020-11-12 23:55:52 -05:00
parent bc0b8d73d7
commit 358010d6e0
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ namespace XIVChat_Desktop {
this.insertAt = this.Messages.Count;
}
// detect iFriendList_Click the bottom
// detect if scroller is at the bottom
var scroller = this.FindElementByName<ScrollViewer>(this.Tabs, "scroller");
var wasAtBottom = Math.Abs(scroller!.VerticalOffset - scroller.ScrollableHeight) < .0001;