Skip to content

Does ImGui::InputFloat3 have built-in copy-paste functionality? #8417

@kekelong

Description

@kekelong

Version/Branch of Dear ImGui:

Version 1.91.8, Branch: master

Back-ends:

imgui_impl_win32.cpp + imgui_impl_dx12.cpp

Compiler, OS:

Windows11 + VS2022

Details:

Does ImGui::InputFloat3 have built-in copy-paste functionality?

When I copy three space-separated float values and select the first input box, pressing Ctrl + V only pastes into the first input box, and the other two have no effect. If this functionality exists, where can I find the related implementation code?

my code:

  {
      ImGui::Begin("WindowFloat");
      static float input[3] = { 0.0f, 0.0f, 0.0f };
      ImGui::InputFloat3("Input Float 3", input, "%0.5f");
      ImGui::End();
  }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions