[development] enabled mouse wheel scrolling in the Profiler gem visualizer (#6930)

Resolves #6698

Signed-off-by: AMZN-ScottR 24445312+AMZN-ScottR@users.noreply.github.com
This commit is contained in:
Scott Romero
2022-01-24 09:49:13 -08:00
committed by GitHub
parent 04e515ee85
commit 0d2204917e
@@ -536,8 +536,7 @@ namespace Profiler
ImGui::Columns(1, "TimelineColumn", true);
// Timeline
if (ImGui::BeginChild(
"Timeline", { 0, 0 }, true, ImGuiWindowFlags_AlwaysVerticalScrollbar | ImGuiWindowFlags_NoScrollWithMouse))
if (ImGui::BeginChild("Timeline", { 0, 0 }, true, ImGuiWindowFlags_AlwaysVerticalScrollbar))
{
// Find the next frame boundary after the viewport's right bound and draw until that tick
auto nextFrameBoundaryItr = AZStd::lower_bound(m_frameEndTicks.begin(), m_frameEndTicks.end(), m_viewportEndTick);