mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-22 15:02:54 +08:00
Fix for shift+move entities moving the original
This commit is contained in:
parent
e95df81169
commit
1194334acb
@ -2277,8 +2277,8 @@ namespace CodeWalker.Project.Panels
|
||||
|
||||
private void ProjectTreeView_AfterSelect(object sender, TreeViewEventArgs e)
|
||||
{
|
||||
bool addSelection = (ModifierKeys & Keys.Control) > 0;
|
||||
bool fillSelection = (ModifierKeys & Keys.Shift) > 0;
|
||||
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