mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Resource Tree: Use /s for game actual paths
This commit is contained in:
parent
176956a1f8
commit
94a0a3902c
1 changed files with 2 additions and 2 deletions
|
|
@ -182,9 +182,9 @@ public class ResourceTreeViewer
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
if (resourceNode.FullPath.FullName.Length > 0)
|
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())
|
if (ImGui.IsItemClicked())
|
||||||
ImGui.SetClipboardText(resourceNode.FullPath.ToString());
|
ImGui.SetClipboardText(resourceNode.FullPath.ToPath());
|
||||||
ImGuiUtil.HoverTooltip($"{resourceNode.FullPath}\n\nClick to copy to clipboard.");
|
ImGuiUtil.HoverTooltip($"{resourceNode.FullPath}\n\nClick to copy to clipboard.");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue