pattern: Fixed array pattern data columns being offset
This commit is contained in:
parent
28e5f62c60
commit
2510f61a4e
@ -807,8 +807,6 @@ namespace hex::pl {
|
|||||||
}
|
}
|
||||||
this->drawCommentTooltip();
|
this->drawCommentTooltip();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
ImGui::ColorButton("color", ImColor(this->getColor()), ImGuiColorEditFlags_NoTooltip, ImVec2(ImGui::GetColumnWidth(), ImGui::GetTextLineHeight()));
|
|
||||||
ImGui::TableNextColumn();
|
|
||||||
ImGui::TextFormatted("0x{0:08X} : 0x{1:08X}", this->getOffset(), this->getOffset() + this->getSize() - 1);
|
ImGui::TextFormatted("0x{0:08X} : 0x{1:08X}", this->getOffset(), this->getOffset() + this->getSize() - 1);
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
ImGui::TextFormatted("0x{0:04X}", this->getSize());
|
ImGui::TextFormatted("0x{0:04X}", this->getSize());
|
||||||
@ -957,8 +955,6 @@ namespace hex::pl {
|
|||||||
}
|
}
|
||||||
this->drawCommentTooltip();
|
this->drawCommentTooltip();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
ImGui::ColorButton("color", ImColor(this->getColor()), ImGuiColorEditFlags_NoTooltip, ImVec2(ImGui::GetColumnWidth(), ImGui::GetTextLineHeight()));
|
|
||||||
ImGui::TableNextColumn();
|
|
||||||
ImGui::TextFormatted("0x{0:08X} : 0x{1:08X}", this->getOffset(), this->getOffset() + this->getSize() - 1);
|
ImGui::TextFormatted("0x{0:08X} : 0x{1:08X}", this->getOffset(), this->getOffset() + this->getSize() - 1);
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
ImGui::TextFormatted("0x{0:04X}", this->getSize());
|
ImGui::TextFormatted("0x{0:04X}", this->getSize());
|
||||||
|
Loading…
Reference in New Issue
Block a user