mirror of https://github.com/WerWolv/ImHex.git
patterns: Fixed inlined variable drawing
This commit is contained in:
parent
334ba3ede2
commit
a9e3db0464
|
@ -675,7 +675,7 @@ namespace hex::pl {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
bool open = true;
|
bool open = true;
|
||||||
if (this->isInlined()) {
|
if (!this->isInlined()) {
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
open = ImGui::TreeNodeEx(this->getDisplayName().c_str(), ImGuiTreeNodeFlags_SpanFullWidth);
|
open = ImGui::TreeNodeEx(this->getDisplayName().c_str(), ImGuiTreeNodeFlags_SpanFullWidth);
|
||||||
|
@ -795,7 +795,7 @@ namespace hex::pl {
|
||||||
|
|
||||||
bool open = true;
|
bool open = true;
|
||||||
|
|
||||||
if (this->isInlined()) {
|
if (!this->isInlined()) {
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
open = ImGui::TreeNodeEx(this->getDisplayName().c_str(), ImGuiTreeNodeFlags_SpanFullWidth);
|
open = ImGui::TreeNodeEx(this->getDisplayName().c_str(), ImGuiTreeNodeFlags_SpanFullWidth);
|
||||||
|
@ -1075,7 +1075,7 @@ namespace hex::pl {
|
||||||
void createEntry(prv::Provider* &provider) override {
|
void createEntry(prv::Provider* &provider) override {
|
||||||
bool open = true;
|
bool open = true;
|
||||||
|
|
||||||
if (this->isInlined()) {
|
if (!this->isInlined()) {
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
open = ImGui::TreeNodeEx(this->getDisplayName().c_str(), ImGuiTreeNodeFlags_SpanFullWidth);
|
open = ImGui::TreeNodeEx(this->getDisplayName().c_str(), ImGuiTreeNodeFlags_SpanFullWidth);
|
||||||
|
@ -1369,7 +1369,7 @@ namespace hex::pl {
|
||||||
std::reverse(value.begin(), value.end());
|
std::reverse(value.begin(), value.end());
|
||||||
|
|
||||||
bool open = true;
|
bool open = true;
|
||||||
if (this->isInlined()) {
|
if (!this->isInlined()) {
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
open = ImGui::TreeNodeEx(this->getDisplayName().c_str(), ImGuiTreeNodeFlags_SpanFullWidth);
|
open = ImGui::TreeNodeEx(this->getDisplayName().c_str(), ImGuiTreeNodeFlags_SpanFullWidth);
|
||||||
|
|
Loading…
Reference in New Issue