mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-18 14:44:29 +01:00
Make braces clear for scoped using.
This commit is contained in:
parent
4aa1388b34
commit
3d9f8355d2
1 changed files with 2 additions and 0 deletions
|
|
@ -287,7 +287,9 @@ public class FileEditor<T> : IDisposable where T : class, IWritable
|
||||||
var file = Items[globalIdx];
|
var file = Items[globalIdx];
|
||||||
bool ret;
|
bool ret;
|
||||||
using (var c = ImRaii.PushColor(ImGuiCol.Text, ColorId.HandledConflictMod.Value(), file.IsOnPlayer))
|
using (var c = ImRaii.PushColor(ImGuiCol.Text, ColorId.HandledConflictMod.Value(), file.IsOnPlayer))
|
||||||
|
{
|
||||||
ret = ImGui.Selectable(file.RelPath.ToString(), selected);
|
ret = ImGui.Selectable(file.RelPath.ToString(), selected);
|
||||||
|
}
|
||||||
|
|
||||||
if (ImGui.IsItemHovered())
|
if (ImGui.IsItemHovered())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue