MVC Browswer 'Double Take'

Bob Arning arning at charm.net
Wed Sep 4 23:59:53 UTC 2002


On Wed, 4 Sep 2002 13:15:25 EDT Mark4Flies at aol.com wrote:
>I just noticed that the System Browser in a MVC project jumps twice (up or 
>down direction) every time I click above or below the scroll rectangle in the 
>scroll bar when the up or down cursor is showing. Try it!
>
>I studied the code. (New part of Squeak for me.) I could not find any obvious 
>reason for this behavior.

This is normal. In MVC, the scroll amount is proportional to the distance between the top of the scroll bar and the mouse click location. The lower down you click, the farther you go. See implementors of #scrollAmount.

Cheers,
Bob



More information about the Squeak-dev mailing list