ImageEditor.st
changeset 1603 fda6d834bb40
parent 1598 d748419672a3
child 1611 2f23751929d6
--- a/ImageEditor.st	Thu Sep 05 19:02:29 2002 +0200
+++ b/ImageEditor.st	Fri Sep 06 20:48:17 2002 +0200
@@ -3013,6 +3013,7 @@
         ^ self
     ].
     clrIndex := self selectionOfColor value.
+    img mask notNil ifTrue: [ clrIndex := clrIndex - 1 ].
     (img colorFromValue:clrIndex-1) inspect
 !