Internals: ButtonBehavior: made ImGuiButtonFlags_PressedOnClick and ImGuiButtonFlags_PressedOnDoubleClick set the click offset correctly + hold on g.ActiveId so Held state can be reported. Added ImGuiButtonFlags_NoHoldingActiveId flag to disable the later.
1 parent 1c4af30 commit ef3f87eec587179c0a82634f481412e25c707d15
@omar omar authored on 17 Oct 2017
Showing 2 changed files
View
imgui.cpp
View
imgui_internal.h