Selecting first mail when thread is expanded.

This commit is contained in:
Burak Kaan Köse
2024-08-31 15:08:43 +02:00
parent 8fb4735fc2
commit ee6249bb17
2 changed files with 43 additions and 4 deletions

View File

@@ -93,7 +93,8 @@ namespace Wino.Extensions
if (isVerticalScrolling)
{
scrollViewer.ChangeView(null, position.Y, zoomFactor, !smoothScrolling);
// Accomodate for additional header.
scrollViewer.ChangeView(null, Math.Max(0, position.Y - 48), zoomFactor, !smoothScrolling);
}
else
{