Searched refs:cr_y (Results 1 – 1 of 1) sorted by relevance
4629 float cr_y = window->ScrollTargetCenterRatio.y; in CalcNextScrollFromScrollTargetAndClamp() local4631 if (snap_on_edges && cr_y <= 0.0f && target_y <= window->WindowPadding.y) in CalcNextScrollFromScrollTargetAndClamp()4633 …if (snap_on_edges && cr_y >= 1.0f && target_y >= window->SizeContents.y - window->WindowPadding.y … in CalcNextScrollFromScrollTargetAndClamp()4635 …scroll.y = target_y - (1.0f - cr_y) * (window->TitleBarHeight() + window->MenuBarHeight()) - cr_y … in CalcNextScrollFromScrollTargetAndClamp()