Open MichaelKv opened 2 years ago
Hello again. Are there any plans to fix this and at least this https://github.com/epezent/implot/issues/306 issues? They do not allow to let the software out. It is a kind of usable for in-house purposes but not for a production. We just need to make a decision. Thanks.
Hello, From implot.h // ImPlot version string.
define IMPLOT_VERSION "0.13 WIP"
I have modified my example from another ticket to demonstrate a new way to change the color of graph lines. Just use the right mouse button click to do it. Such a behavior shall not happen. The culprit is ImPlot::IsPlotHovered() call. BTW, this call helps this issue https://github.com/epezent/implot/issues/306 a lot. Please, help!!!
`void ShowDemo_DragLines() { ImGui::BulletText("Click and drag the horizontal and vertical lines."); static double x1 = 0.2; static double x2 = 0.8; static double y1 = 0.25; static double y2 = 0.75; static double f = 0.1; ImGui::SetNextWindowSize(ImGui::GetIO().DisplaySize); ImGui::SetNextWindowPos(ImVec2()); ImGui::Begin("AAA", nullptr, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoResize); ImVec2 graphWindowSize = ImGui::GetContentRegionAvail();// ImGui::GetWindowSize(); constexpr size_t GraphAmount = 15; ImVec2 oneGraphSize = ImVec2(-1, graphWindowSize.y / GraphAmount); if (oneGraphSize.y < 150.f) { oneGraphSize.y = 150.f; }
}`