You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to ImGui API ImGui::IsMouseDoubleClicked(...) call should return true if a mouse was double-clicked. In practice, it always returns false. Only SFML method sf::Mouse::isMouseButtonPressed(...), which scans for single clicks, works. However, it is not useful as there is no built-in method to check for double clicking in SFML Mouse object. if (ImGui::IsMouseDoubleClicked(0)) { std::cout << "Mouse was double-clicked\n"; }
The text was updated successfully, but these errors were encountered:
According to ImGui API
ImGui::IsMouseDoubleClicked(...)
call should return true if a mouse was double-clicked. In practice, it always returns false. Only SFML methodsf::Mouse::isMouseButtonPressed(...)
, which scans for single clicks, works. However, it is not useful as there is no built-in method to check for double clicking in SFML Mouse object.if (ImGui::IsMouseDoubleClicked(0)) { std::cout << "Mouse was double-clicked\n"; }
The text was updated successfully, but these errors were encountered: