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

commits at source.squeak.org commits at source.squeak.org
Thu May 14 16:40:42 UTC 2015


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

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

Name: Morphic-mt.981
Author: mt
Time: 14 May 2015, 6:40:07.558 pm
UUID: f583e77f-1371-e147-912d-9fdcc47afb7b
Ancestors: Morphic-kfr.980

Bugfix in identing list items (tree widgets), which did not update their container's layout correctly when notifying about changed contents (i.e., children).

=============== Diff against Morphic-kfr.980 ===============

Item was changed:
  ----- Method: IndentingListItemMorph>>update: (in category 'updating') -----
  update: aspect
  	"See ListItemWrapper and subclasses for possible change aspects."
  	
  	aspect = #contents ifTrue: [
+ 		self isExpanded ifTrue: [self toggleExpandedState].
+ 		self canExpand ifTrue: [self toggleExpandedState].
+ 		container adjustSubmorphPositions].
- 		self isExpanded ifTrue: [
- 			self toggleExpandedState].
- 			self canExpand ifTrue: [self toggleExpandedState]].
  		
  	super update: aspect.!



More information about the Squeak-dev mailing list