I'm displaying an image with ImGUI like this:
ImGui::Begin("Full image", nullptr, ImGuiWindowFlags_HorizontalScrollbar);
ImVec2 size(imageWidth, imageHeight);
ImGui::Image(imageTexture, size);
ImGui::End();
I want to add some logic to the "Full image" window so that when I click and drag on the image, the window won't change its position. Can this be toggled with a setting?