Skip to content

Commit

Permalink
node: Limit width of out variable access node
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Oct 12, 2022
1 parent d17911d commit 7331b8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/builtin/source/content/data_processor_nodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,9 @@ namespace hex::plugin::builtin {
NodePatternLanguageOutVariable() : Node("hex.builtin.nodes.pattern_language.out_var.header", { dp::Attribute(dp::Attribute::IOType::Out, dp::Attribute::Type::Buffer, "hex.builtin.nodes.common.output") }) { }

void drawNode() override {
ImGui::PushItemWidth(100);
ImGui::InputText("##name", this->m_name);
ImGui::PopItemWidth();
}

void process() override {
Expand Down

0 comments on commit 7331b8d

Please sign in to comment.