enhance: scroll to home when active revision file changed
Some checks are pending
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
Continuous Integration / Build (push) Waiting to run

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-06-07 20:53:34 +08:00
parent 2478d2953b
commit ba4c0f0cd2
No known key found for this signature in database

View file

@ -83,6 +83,7 @@ namespace SourceGit.Views
{ {
Text = source.Content; Text = source.Content;
Models.TextMateHelper.SetGrammarByFileName(_textMate, source.FileName); Models.TextMateHelper.SetGrammarByFileName(_textMate, source.FileName);
ScrollToHome();
} }
else else
{ {