Merge pull request #1987 from rockorager/main

inspector: fix mode prefix by prepending '?' only to private modes
This commit is contained in:
Mitchell Hashimoto
2024-07-22 09:31:13 -07:00
committed by GitHub

View File

@ -596,7 +596,7 @@ fn renderModesWindow(self: *Inspector) void {
_ = cimgui.c.igTableSetColumnIndex(1);
cimgui.c.igText(
"%s%d",
if (tag.ansi) "?" else "",
if (tag.ansi) "" else "?",
@as(u32, @intCast(tag.value)),
);
}