mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-22 05:40:43 +08:00
ux: stage/unstage/discard button aligment in TextDiffView
This commit is contained in:
@@ -1085,7 +1085,7 @@ namespace SourceGit.Views
|
||||
return;
|
||||
}
|
||||
|
||||
var top = chunk.Y + 16;
|
||||
var top = chunk.Y + (chunk.Height >= 36 ? 16 : 4);
|
||||
var right = (chunk.Combined || !chunk.IsOldSide) ? 16 : v.Bounds.Width * 0.5f + 16;
|
||||
v.Popup.Margin = new Thickness(0, top, right, 0);
|
||||
v.Popup.IsVisible = true;
|
||||
|
||||
Reference in New Issue
Block a user