[Pkg] The Trunk: Morphic-mt.844.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Apr 8 18:34:15 UTC 2015


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

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

Name: Morphic-mt.844
Author: mt
Time: 8 April 2015, 8:33:39.809 pm
UUID: 33c3b696-6a7b-3d48-b6d3-4bb6d493219b
Ancestors: Morphic-mt.843

Fix lists to not reset the scroll position to 0 when updating their contents but keep it if possible. Having this, we can update lists without jumpy scrolling behavior.

=============== Diff against Morphic-mt.843 ===============

Item was changed:
  ----- Method: PluggableListMorph>>updateList (in category 'updating') -----
  updateList
  	| index |
  	"the list has changed -- update from the model"
  	self listMorph listChanged.
  	self setScrollDeltas.
- 	scrollBar setValue: 0.0.
  	index := self getCurrentSelectionIndex.
  	self resetPotentialDropRow.
  	self selectionIndex: (self uiIndexFor: index).
  !



More information about the Packages mailing list