The Trunk: Morphic-mha.431.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-mha.431.mcz

commits-2
Michael Haupt uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mha.431.mcz

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

Name: Morphic-mha.431
Author: mha
Time: 27 April 2010, 9:34:42.804 am
UUID: b199bf44-5120-4bec-89be-b4d3a41081ef
Ancestors: Morphic-laza.430

* improved visibility for multi-selection / last-selected item in LazyListMorph
* consistent colorisation of selected items in single-/multi-selection lists

=============== Diff against Morphic-laza.430 ===============

Item was changed:
  ----- Method: LazyListMorph>>drawBackgroundForMulti:on: (in category 'drawing') -----
  drawBackgroundForMulti: row on: aCanvas
  "shade the background paler, if this row is selected, but not the current selected row"
  | selectionDrawBounds thisColor |
  thisColor := selectedRow = row
+ ifTrue: [ self class listSelectionColor twiceDarker ]
+ ifFalse: [ self class listSelectionColor ].
- ifTrue: [ self class listSelectionColor ]
- ifFalse: [ self class listSelectionColor muchLighter ].
  selectionDrawBounds := self drawBoundsForRow: row.
  selectionDrawBounds := selectionDrawBounds intersect: self bounds.
  aCanvas
  fillRectangle: selectionDrawBounds
  color: thisColor!