fix: wrong width for commit graph
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions

This commit is contained in:
leo 2024-09-19 15:59:34 +08:00
parent a690f77468
commit 6a0cf30db2
No known key found for this signature in database

View file

@ -451,7 +451,7 @@ namespace SourceGit.Views
return; return;
// Calculate drawing area. // Calculate drawing area.
double width = Bounds.Width - 156 - 96 - histories.AuthorNameColumnWidth.Value; double width = Bounds.Width - 273 - histories.AuthorNameColumnWidth.Value;
double height = Bounds.Height; double height = Bounds.Height;
double startY = list.Scroll?.Offset.Y ?? 0; double startY = list.Scroll?.Offset.Y ?? 0;
double endY = startY + height + 28; double endY = startY + height + 28;