fix: Bitfields not being displayed correctly in Pattern Data view (#580)
Co-authored-by: Dmitry Polshakov <dmitry.polshakov@dsr-corporation.com>
This commit is contained in:
parent
8aff20b374
commit
e7399d223d
@ -44,9 +44,13 @@ namespace hex {
|
|||||||
|
|
||||||
void PatternDrawer::visit(pl::PatternBitfieldField& pattern) {
|
void PatternDrawer::visit(pl::PatternBitfieldField& pattern) {
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
|
createLeafNode(pattern);
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
drawNameColumn(pattern);
|
|
||||||
makeSelectable(pattern);
|
makeSelectable(pattern);
|
||||||
|
drawCommentTooltip(pattern);
|
||||||
|
ImGui::SameLine();
|
||||||
|
drawNameColumn(pattern);
|
||||||
drawColorColumn(pattern);
|
drawColorColumn(pattern);
|
||||||
|
|
||||||
auto byteAddr = pattern.getOffset() + pattern.getBitOffset() / 8;
|
auto byteAddr = pattern.getOffset() + pattern.getBitOffset() / 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user