1
0
mirror of synced 2024-11-12 02:00:52 +01:00

ui: Fixed indentation of sealed patterns in pattern data view

This commit is contained in:
WerWolv 2022-09-07 22:21:44 +02:00
parent 2fbb351314
commit 7a4040f6ec
2 changed files with 4 additions and 2 deletions

@ -1 +1 @@
Subproject commit e4d95c96020ff80884cfeffe30fec472cfdbe5a2
Subproject commit 82fa40f9f8395c1b9e9c364841c8d3f8735b58c7

View File

@ -360,7 +360,9 @@ namespace hex {
bool PatternDrawer::createTreeNode(const pl::ptrn::Pattern& pattern) const {
if (pattern.isSealed()) {
ImGui::Selectable(pattern.getDisplayName().c_str(), false, ImGuiSelectableFlags_SpanAllColumns | ImGuiSelectableFlags_AllowItemOverlap);
ImGui::Indent();
ImGui::TextUnformatted(pattern.getDisplayName().c_str());
ImGui::Unindent();
return false;
}
else