node: Limit width of out variable access node

This commit is contained in:
WerWolv 2022-10-12 12:24:54 +02:00
parent d17911d753
commit 7331b8d5ae
1 changed files with 2 additions and 0 deletions

View File

@ -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 {