Searched refs:scroll_speed (Results 1 – 1 of 1) sorted by relevance
7779 …const float scroll_speed = ImFloor(window->CalcFontSize() * 100 * g.IO.DeltaTime + 0.5f); // We ne… in NavUpdate() local7783 …dow, ImFloor(window->Scroll.x + ((g.NavMoveDir == ImGuiDir_Left) ? -1.0f : +1.0f) * scroll_speed)); in NavUpdate()7785 …indow, ImFloor(window->Scroll.y + ((g.NavMoveDir == ImGuiDir_Up) ? -1.0f : +1.0f) * scroll_speed)); in NavUpdate()7793 SetWindowScrollX(window, ImFloor(window->Scroll.x + scroll_dir.x * scroll_speed)); in NavUpdate()7798 SetWindowScrollY(window, ImFloor(window->Scroll.y + scroll_dir.y * scroll_speed)); in NavUpdate()