ui: Fixed indentation of sealed patterns in pattern data view
This commit is contained in:
parent
2fbb351314
commit
7a4040f6ec
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
|||||||
Subproject commit e4d95c96020ff80884cfeffe30fec472cfdbe5a2
|
Subproject commit 82fa40f9f8395c1b9e9c364841c8d3f8735b58c7
|
@ -360,7 +360,9 @@ namespace hex {
|
|||||||
|
|
||||||
bool PatternDrawer::createTreeNode(const pl::ptrn::Pattern& pattern) const {
|
bool PatternDrawer::createTreeNode(const pl::ptrn::Pattern& pattern) const {
|
||||||
if (pattern.isSealed()) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user