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

commits at source.squeak.org commits at source.squeak.org
Sun Jul 31 11:06:09 UTC 2016

Marcel Taeumel uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-mt.1217
Author: mt
Time: 31 July 2016, 1:05:33.780679 pm
UUID: 40eb6f6d-92d3-574f-8dd7-e13db762ba75
Ancestors: Morphic-mt.1216

Makes icon labels in scroll bar buttons visible again for Solarized and Monokai themes. Those have no distinct border color for scroll bar buttons, which is normally used for determining the color of the iconic labels.

=============== Diff against Morphic-mt.1216 ===============

Item was changed:
  ----- Method: ScrollBar>>imageColor (in category 'accessing') -----
+ 	^ slider ifNil: [Color black] ifNotNil: [:s | 
+ 		(s color = s borderColor or: [s borderColor isTransparent])
+ 			ifTrue: [s color adjustBrightness: (s color brightness < 0.5 ifTrue: [0.2] ifFalse: [-0.2])]
+ 			ifFalse: [s borderColor]]!
- 	^ slider ifNil: [Color black] ifNotNil: [:s | s borderColor]!

More information about the Squeak-dev mailing list