Make braces clear for scoped using.

This commit is contained in:
Ottermandias 2023-11-29 17:32:59 +01:00
parent 4aa1388b34
commit 3d9f8355d2

View file

@ -287,7 +287,9 @@ public class FileEditor<T> : IDisposable where T : class, IWritable
var file = Items[globalIdx];
bool ret;
using (var c = ImRaii.PushColor(ImGuiCol.Text, ColorId.HandledConflictMod.Value(), file.IsOnPlayer))
{
ret = ImGui.Selectable(file.RelPath.ToString(), selected);
}
if (ImGui.IsItemHovered())
{