Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kekelong opened this issue Feb 20, 2025 · 0 comments
Open

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

kekelong opened this issue Feb 20, 2025 · 0 comments

Comments

@kekelong
Copy link

kekelong commented Feb 20, 2025

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();
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants