mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2025-01-10 19:25:19 +08:00
Fix for multiple selection from project explorer bug
This commit is contained in:
parent
2cd61469e2
commit
070a2be42e
@ -2277,8 +2277,9 @@ namespace CodeWalker.Project.Panels
|
||||
|
||||
private void ProjectTreeView_AfterSelect(object sender, TreeViewEventArgs e)
|
||||
{
|
||||
bool addSelection = Focused && ((ModifierKeys & Keys.Control) > 0);
|
||||
bool fillSelection = Focused && ((ModifierKeys & Keys.Shift) > 0);
|
||||
bool focused = ProjectForm?.ContainsFocus ?? this.ContainsFocus;
|
||||
bool addSelection = focused && ((ModifierKeys & Keys.Control) > 0);
|
||||
bool fillSelection = focused && ((ModifierKeys & Keys.Shift) > 0);
|
||||
if (addSelection)
|
||||
{
|
||||
if (SelectedNodes.Contains(e.Node))
|
||||
|
Loading…
Reference in New Issue
Block a user