code_review: PR #1416

- Split `DoubleTapped` into two methods: `CheckoutBranchByDecorator` and `CheckoutBranchByCommit`
- Move `DoubleTappedEvent` from whole ListBox to the row tapped actually
- Do nothing if the decorator double-clicked is HEAD
- Code-style

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-06-19 11:31:04 +08:00
parent 88fd8f32f1
commit af2b644792
No known key found for this signature in database
6 changed files with 101 additions and 92 deletions

View file

@ -55,7 +55,7 @@ namespace SourceGit.Models
_watchers.Add(wc);
_watchers.Add(git);
}
}
_timer = new Timer(Tick, null, 100, 100);
}