mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 18:30:34 +08:00
fix: crash due to Bounds.With returns zero
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -69,7 +69,7 @@ namespace SourceGit.Views
|
||||
CultureInfo.CurrentCulture,
|
||||
FlowDirection.LeftToRight,
|
||||
typeface,
|
||||
Bounds.Width * 0.65,
|
||||
Math.Max(Bounds.Width * 0.65, 10),
|
||||
Brushes.White);
|
||||
|
||||
var chars = fallback.ToCharArray();
|
||||
|
||||
Reference in New Issue
Block a user