ColorPicker: Made rendering aware of global style alpha of the picker can be faded out. (#2711)

Note that some elements won't accurately fade down with the same intensity, and the color wheel when enabled will have small overlap glitches with (style.Alpha < 1.0).
This commit is contained in:
omar
2019-08-15 19:03:07 +02:00
parent 88bf056a9f
commit 9fce278918
3 changed files with 43 additions and 33 deletions

View File

@ -4439,7 +4439,7 @@ bool ImGui::IsMouseDoubleClicked(int button)
return g.IO.MouseDoubleClicked[button];
}
// [Internal] This doesn't test if the button is presed
// [Internal] This doesn't test if the button is pressed
bool ImGui::IsMouseDragPastThreshold(int button, float lock_threshold)
{
ImGuiContext& g = *GImGui;