#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Mon, 05 Feb 2018 00:40:05 +0100
changeset 8285 fcec3749083e
parent 8284 a085dfe0614b
child 8286 826c287de344
#REFACTORING by cg class: Color class changed: #getPrimaryColorsOn:
Color.st
--- a/Color.st	Thu Feb 01 01:01:05 2018 +0100
+++ b/Color.st	Mon Feb 05 00:40:05 2018 +0100
@@ -4198,9 +4198,11 @@
 
             aDevice hasGrayscales ifTrue:[
                 aDevice hasColors ifFalse:[
-                    colors := OrderedCollection new.
-                    colors add:((self gray:50) exactOn:aDevice).
-                    colors add:white; add:black.
+                    colors := 
+                        OrderedCollection 
+                            with:((self gray:50) exactOn:aDevice)
+                            with:white
+                            with:black.
 
                 ].
                 colors add:((self gray:25) exactOn:aDevice).