-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Closed
Description
Hi, not much to add my code here, because it is simple question.
Version/Branch of Dear ImGui:
Version: v1.49
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp
Compiler: vs2017
Operating System: Windows 10 64bit
My Issue/Question:
If i test button with mouse, it clicked with single-click.
But if i test button on touchscreen, it can not be clicked with single-click,
but only double-click.
How i use imgui button on my touchscreen(microsoft surface, win10) with single-click?
Screenshots/Video
Standalone, minimal, complete and verifiable example: (see #2261)
ImGui::Begin("Example Bug");
static int counter = 0;
if (ImGui::Button("-##1")) // <----- single click doesn't work on touchscreen
{
--counter;
}
ImGui::End();
Thanks!