[Webkit-unassigned] [Bug 60779] Bug in rubber banding logic for scroll animators
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 13 15:09:52 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=60779
--- Comment #17 from Simon Fraser (smfr) <simon.fraser at apple.com> 2011-05-13 15:09:52 PST ---
(From update of attachment 93517)
View in context: https://bugs.webkit.org/attachment.cgi?id=93517&action=review
> Source/WebCore/platform/mac/ScrollAnimatorMac.mm:775
> +static inline bool horizontalScrollPositionIsPastMinimum(ScrollableArea* scrollableArea)
> +{
> + return scrollableArea->scrollPosition(scrollableArea->horizontalScrollbar()) <= scrollableArea->minimumScrollPosition().x();
> +}
> +
> +static inline bool horizontalScrollPositionIsPastMaximum(ScrollableArea* scrollableArea)
> +{
> + return scrollableArea->scrollPosition(scrollableArea->horizontalScrollbar()) >= scrollableArea->maximumScrollPosition().x();
> +}
It seems reasonable to add these to ScrollableArea
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list