From dbd5c713445a11f8a377eefffa3467fb451af204 Mon Sep 17 00:00:00 2001 From: Wiktor Kocielski Date: Sat, 15 Apr 2023 22:32:52 +0300 Subject: [PATCH] Fix RMB deletion to take selection into account --- Source/Editor/Windows/ContentWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/Windows/ContentWindow.cs b/Source/Editor/Windows/ContentWindow.cs index 654eaa91d..da2c53aa6 100644 --- a/Source/Editor/Windows/ContentWindow.cs +++ b/Source/Editor/Windows/ContentWindow.cs @@ -485,7 +485,7 @@ namespace FlaxEditor.Windows /// The item to delete. public void Delete(ContentItem item) { - Delete(new List(1) { item }); + Delete(Editor.Instance.Windows.ContentWin.View.Selection); } ///