Searched refs:right_viewport_edge (Results 1 – 6 of 6) sorted by relevance
482 let right_viewport_edge = viewport_rect.max_x() - margin; in calculate_sticky_offset() localVariable483 if sticky_rect.max_x() > right_viewport_edge { in calculate_sticky_offset()484 sticky_offset.x = right_viewport_edge - sticky_rect.max_x(); in calculate_sticky_offset()486 sticky_rect.max_x() < right_viewport_edge { in calculate_sticky_offset()487 sticky_offset.x = right_viewport_edge - sticky_rect.max_x(); in calculate_sticky_offset()
569 let right_viewport_edge = viewport_rect.max.x - margin; in calculate_sticky_offset() localVariable570 if sticky_rect.max.x > right_viewport_edge { in calculate_sticky_offset()571 sticky_offset.x += right_viewport_edge - sticky_rect.max.x; in calculate_sticky_offset()573 sticky_rect.max.x < right_viewport_edge { in calculate_sticky_offset()574 sticky_offset.x += right_viewport_edge - sticky_rect.max.x; in calculate_sticky_offset()
546 let right_viewport_edge = viewport_rect.max_x() - margin; in calculate_sticky_offset() localVariable547 if sticky_rect.max_x() > right_viewport_edge { in calculate_sticky_offset()548 sticky_offset.x += right_viewport_edge - sticky_rect.max_x(); in calculate_sticky_offset()550 sticky_rect.max_x() < right_viewport_edge { in calculate_sticky_offset()551 sticky_offset.x += right_viewport_edge - sticky_rect.max_x(); in calculate_sticky_offset()
593 let right_viewport_edge = viewport_rect.max_x() - margin; in calculate_sticky_offset() localVariable594 if sticky_rect.max_x() > right_viewport_edge { in calculate_sticky_offset()595 sticky_offset.x = right_viewport_edge - sticky_rect.max_x(); in calculate_sticky_offset()597 sticky_rect.max_x() < right_viewport_edge { in calculate_sticky_offset()598 sticky_offset.x = right_viewport_edge - sticky_rect.max_x(); in calculate_sticky_offset()
646 let right_viewport_edge = viewport_rect.max.x - margin; in calculate_sticky_offset() localVariable647 if sticky_rect.max.x > right_viewport_edge { in calculate_sticky_offset()648 sticky_offset.x += right_viewport_edge - sticky_rect.max.x; in calculate_sticky_offset()650 sticky_rect.max.x < right_viewport_edge { in calculate_sticky_offset()651 sticky_offset.x += right_viewport_edge - sticky_rect.max.x; in calculate_sticky_offset()