mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
EntityHierarchyWindow: Dragging entites no longer selects them
This commit is contained in:
@@ -464,7 +464,7 @@ namespace GlitchyEditor.EditWindows
|
||||
lastClickedEntity = tree.Value;
|
||||
}
|
||||
|
||||
if (!isDragged && (hovered) && tree.Value == lastClickedEntity)
|
||||
if (!isDragged && (hovered && !ImGui.IsMouseDown(.Left) && !ImGui.IsMouseDown(.Right)) && tree.Value == lastClickedEntity)
|
||||
{
|
||||
if (!inSelectedList)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user