mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
ux: stage/unstage/discard button aligment in TextDiffView
This commit is contained in:
parent
d4b0958f67
commit
7ff92c4e1d
1 changed files with 1 additions and 1 deletions
|
@ -1085,7 +1085,7 @@ namespace SourceGit.Views
|
||||||
return;
|
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;
|
var right = (chunk.Combined || !chunk.IsOldSide) ? 16 : v.Bounds.Width * 0.5f + 16;
|
||||||
v.Popup.Margin = new Thickness(0, top, right, 0);
|
v.Popup.Margin = new Thickness(0, top, right, 0);
|
||||||
v.Popup.IsVisible = true;
|
v.Popup.IsVisible = true;
|
||||||
|
|
Loading…
Reference in a new issue