mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 21:30:37 +08:00
refactor: reduce the times to call RefreshLayout
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -22,9 +22,8 @@ namespace SourceGit.Views
|
||||
|
||||
protected override Type StyleKeyOverride => typeof(Grid);
|
||||
|
||||
public override void ApplyTemplate()
|
||||
public HistoriesLayout()
|
||||
{
|
||||
base.ApplyTemplate();
|
||||
RefreshLayout();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user