mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-20 07:34:25 +01:00
Mod Edit Window: Highlight paths of files on player
This commit is contained in:
parent
43c6b52d0b
commit
18d38a9974
5 changed files with 45 additions and 14 deletions
|
|
@ -285,7 +285,9 @@ public class FileEditor<T> : IDisposable where T : class, IWritable
|
|||
protected override bool DrawSelectable(int globalIdx, bool selected)
|
||||
{
|
||||
var file = Items[globalIdx];
|
||||
var ret = ImGui.Selectable(file.RelPath.ToString(), selected);
|
||||
bool ret;
|
||||
using (var c = ImRaii.PushColor(ImGuiCol.Text, ColorId.HandledConflictMod.Value(), file.IsOnPlayer))
|
||||
ret = ImGui.Selectable(file.RelPath.ToString(), selected);
|
||||
|
||||
if (ImGui.IsItemHovered())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue