{"action":"closed","issue":{"url":"https://api.github.com/repos/ocornut/imgui/issues/376","labels_url":"https://api.github.com/repos/ocornut/imgui/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/ocornut/imgui/issues/376/comments","events_url":"https://api.github.com/repos/ocornut/imgui/issues/376/events","html_url":"https://github.com/ocornut/imgui/issues/376","id":111880054,"number":376,"title":"Selectable press on click instead of release","user":{"login":"yngccc","id":1298221,"avatar_url":"https://avatars.githubusercontent.com/u/1298221?v=3","gravatar_id":"","url":"https://api.github.com/users/yngccc","html_url":"https://github.com/yngccc","followers_url":"https://api.github.com/users/yngccc/followers","following_url":"https://api.github.com/users/yngccc/following{/other_user}","gists_url":"https://api.github.com/users/yngccc/gists{/gist_id}","starred_url":"https://api.github.com/users/yngccc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yngccc/subscriptions","organizations_url":"https://api.github.com/users/yngccc/orgs","repos_url":"https://api.github.com/users/yngccc/repos","events_url":"https://api.github.com/users/yngccc/events{/privacy}","received_events_url":"https://api.github.com/users/yngccc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-16T17:57:21Z","updated_at":"2015-10-16T18:43:27Z","closed_at":"2015-10-16T18:43:27Z","body":"I am trying to detect double mouse click on `Selectable`, `ImGuiSelectableFlags` doesn't have option to change the behavior to return on click, I see in the source code it is checking against `ImGuiSelectableFlags_Menu` but that is a private flag. Am I missing something?\r\n\r\n```\r\n// example\r\nif (ImGui::Selectable(\"selectable\",  x, ImGuiSelectableFlags_onClick)) {\r\n  if (ImGui::IsMouseDoubleClicked(0)) {\r\n     // double clicked\r\n  }\r\n}\r\n```"}}