patterns: Updated pattern language

Fixes #1030
This commit is contained in:
WerWolv
2023-04-12 16:03:58 +02:00
parent aa7c5422c0
commit 7e144b136b
2 changed files with 7 additions and 2 deletions

View File

@@ -306,7 +306,12 @@ namespace hex::plugin::builtin::ui {
makeSelectable(pattern);
drawCommentTooltip(pattern);
ImGui::TableNextColumn();
drawColorColumn(pattern);
if (pattern.isSealed())
drawColorColumn(pattern);
else
ImGui::TableNextColumn();
drawOffsetColumn(pattern);
drawSizeColumn(pattern);
drawTypenameColumn(pattern, "bitfield");