mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
refactor: reduce the times to call RefreshLayout
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
0476a825ef
commit
77d8afe056
1 changed files with 1 additions and 2 deletions
|
@ -22,9 +22,8 @@ namespace SourceGit.Views
|
||||||
|
|
||||||
protected override Type StyleKeyOverride => typeof(Grid);
|
protected override Type StyleKeyOverride => typeof(Grid);
|
||||||
|
|
||||||
public override void ApplyTemplate()
|
public HistoriesLayout()
|
||||||
{
|
{
|
||||||
base.ApplyTemplate();
|
|
||||||
RefreshLayout();
|
RefreshLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue