#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Wed, 31 Jan 2018 13:15:13 +0100
changeset 8280 68112869082b
parent 8279 04027c532c45
child 8281 88f62a43293a
#BUGFIX by cg class: TranslucentColor changed: #=
TranslucentColor.st
--- a/TranslucentColor.st	Wed Jan 31 13:14:00 2018 +0100
+++ b/TranslucentColor.st	Wed Jan 31 13:15:13 2018 +0100
@@ -190,6 +190,8 @@
 !TranslucentColor methodsFor:'comparing'!
 
 = aColor
+    aColor species == self species ifFalse:[^ false].
+
     ^ (self alpha = aColor alpha)
       and:[ super = aColor ]
 !