We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10351c5 commit a5eb031Copy full SHA for a5eb031
plugins/ui/source/ui/pattern_drawer.cpp
@@ -135,11 +135,12 @@ namespace hex::ui {
135
}
136
137
void drawSizeColumn(const pl::ptrn::Pattern& pattern) {
138
- ImGui::TableNextColumn();
139
if (auto *bitfieldMember = dynamic_cast<const pl::ptrn::PatternBitfieldMember*>(&pattern); bitfieldMember != nullptr && bitfieldMember->getParentBitfield() != nullptr)
140
drawSizeColumnForBitfieldMember(*bitfieldMember);
141
- else
+ else {
+ ImGui::TableNextColumn();
142
ImGuiExt::TextFormatted("0x{0:04X}", pattern.getSize());
143
+ }
144
145
146
void drawCommentTooltip(const pl::ptrn::Pattern &pattern) {
0 commit comments