This commit is contained in:
stefnotch
2021-02-08 09:48:46 +01:00
parent f9deb97229
commit c7feeb624d
7 changed files with 12 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ namespace FlaxEditor.Content
if (asset)
{
var source = Editor.GetShaderSourceCode(asset);
Utilities.Utils.ShowSourceCodeWindow(source, "Shader Source");
Utilities.Utils.ShowSourceCodeWindow(source, "Shader Source", item.RootWindow.Window);
}
return null;
}