changeset 3367 | 033c21371bea |
parent 3359 | 258a64461215 |
child 3370 | c88532134a2b |
--- a/ImageEditor.st Tue Jan 03 14:51:05 2017 +0100 +++ b/ImageEditor.st Tue Jan 03 15:00:15 2017 +0100 @@ -4055,8 +4055,7 @@ drawColor2 := newListOfColors at:2 ifAbsent:drawColor1. self hasMask ifTrue: [ - (newListOfColors contains: [:clr| clr = (Color colorId:0)]) - ifFalse:[ + (newListOfColors includes:(Color colorId:0)) ifFalse:[ newListOfColors addFirst:(Color colorId:0). drawColor1 := newListOfColors at:2. drawColor2 := newListOfColors at:3 ifAbsent:drawColor1.