GUI: long hold?
This commit is contained in:
parent
018d8379e6
commit
dc7aec2dc1
5 changed files with 42 additions and 1 deletions
10
extern/imgui_patched/imgui.cpp
vendored
10
extern/imgui_patched/imgui.cpp
vendored
|
|
@ -7552,6 +7552,16 @@ void ImGui::EndDisabled()
|
|||
g.Style.Alpha = g.DisabledAlphaBackup; //PopStyleVar();
|
||||
}
|
||||
|
||||
// IsInertialScroll()
|
||||
|
||||
bool ImGui::IsInertialScroll()
|
||||
{
|
||||
ImGuiWindow* window = GetCurrentWindow();
|
||||
if (window==NULL) return false;
|
||||
return window->InertialScroll;
|
||||
}
|
||||
|
||||
|
||||
// InhibitInertialScroll()
|
||||
|
||||
void ImGui::InhibitInertialScroll()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue