The Trunk: Morphic-mt.981.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-mt.981.mcz

commits-2
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.!