[squeak-dev] The Trunk: Morphic-mt.798.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Apr 1 08:35:15 UTC 2015


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.798.mcz

==================== Summary ====================

Name: Morphic-mt.798
Author: mt
Time: 1 April 2015, 10:34:38.43 am
UUID: b8569c16-d9cb-a24e-b4d5-a6b7f6abd7ba
Ancestors: Morphic-mt.797

Fixes error that may occur in empty lazy lists when mapping a point to a row index.

=============== Diff against Morphic-mt.797 ===============

Item was changed:
  ----- Method: LazyListMorph>>rowAtLocation: (in category 'list management') -----
  rowAtLocation: aPoint
  	"return the number of the row at aPoint"
  	| y |
  	y := aPoint y.
+ 	y < self top ifTrue: [ ^ 1 min: listItems size ].
- 	y < self top ifTrue: [ ^ 1 ].
  	^((y - self top // (font height)) + 1) min: listItems size max: 0!



More information about the Squeak-dev mailing list