[squeak-dev] The Trunk: Morphic-ul.623.mcz
bert at freudenbergs.de
Mon Sep 10 10:33:30 UTC 2012
On 2012-09-09, at 20:17, commits at source.squeak.org wrote:
> Levente Uzonyi uploaded a new version of Morphic to project The Trunk:
> ==================== Summary ====================
> Name: Morphic-ul.623
> Author: ul
> Time: 9 September 2012, 3:54:33.811 pm
> UUID: e69fe3c1-863e-9446-9935-825988ba7d03
> Ancestors: Morphic-cmm.622
> Highlight list items based on the selection color instead of the item's preferred color to get better readability.
> =============== Diff against Morphic-cmm.622 ===============
> Item was changed:
> ----- Method: ListItemWrapper>>highlightingColor (in category 'accessing') -----
> + ^Preferences menuSelectionColor luminance > 0.5
> + ifTrue: [ Color black ]
> + ifFalse: [ Color white ]!
> - ^self preferredColor negated!
How about using makeForegroundColor?
- Bert -
More information about the Squeak-dev