Skip to content

Commit

Permalink
Resource Tree: Use /s for game actual paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Exter-N authored and Ottermandias committed Sep 3, 2023
1 parent 176956a commit 94a0a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Penumbra/UI/AdvancedWindow/ResourceTreeViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ private void DrawNodes(IEnumerable<ResourceNode> resourceNodes, int level, nint
ImGui.TableNextColumn();
if (resourceNode.FullPath.FullName.Length > 0)
{
ImGui.Selectable(resourceNode.FullPath.ToString(), false, 0, new Vector2(ImGui.GetContentRegionAvail().X, cellHeight));
ImGui.Selectable(resourceNode.FullPath.ToPath(), false, 0, new Vector2(ImGui.GetContentRegionAvail().X, cellHeight));
if (ImGui.IsItemClicked())
ImGui.SetClipboardText(resourceNode.FullPath.ToString());
ImGui.SetClipboardText(resourceNode.FullPath.ToPath());
ImGuiUtil.HoverTooltip($"{resourceNode.FullPath}\n\nClick to copy to clipboard.");
}
else
Expand Down

0 comments on commit 94a0a39

Please sign in to comment.