mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Merge branch 'examples_refactor' into viewport
# Conflicts: # examples/directx10_example/main.cpp # examples/directx11_example/main.cpp # examples/directx12_example/main.cpp # examples/opengl3_example/main.cpp # examples/sdl_opengl2_example/main.cpp # examples/sdl_opengl3_example/main.cpp # examples/sdl_vulkan_example/main.cpp # examples/vulkan_example/main.cpp # imgui.h
This commit is contained in:
		@@ -176,6 +176,7 @@ static void ImGui_ImplGlfw_UpdateMouse()
 | 
			
		||||
    io.MouseHoveredViewport = 0;
 | 
			
		||||
 | 
			
		||||
    // Update buttons
 | 
			
		||||
    ImGuiIO& io = ImGui::GetIO();
 | 
			
		||||
    for (int i = 0; i < IM_ARRAYSIZE(io.MouseDown); i++)
 | 
			
		||||
    {
 | 
			
		||||
        // If a mouse press event came, always pass it as "mouse held this frame", so we don't miss click-release events that are shorter than 1 frame.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user