#BUGFIX by cg
class: ImageEditor
changed:
#maskOutsideCircleIcon
#maskOutsideRectangleIcon
oops: maskedPalettes are editable!
#update:with:from:
--- a/ImageEditor.st Fri Feb 17 08:44:17 2017 +0100
+++ b/ImageEditor.st Fri Feb 17 14:29:17 2017 +0100
@@ -943,7 +943,7 @@
^Icon
constantNamed:'ImageEditor class maskOutsideCircleIcon'
ifAbsentPut:[(Depth1Image width:14 height:14) bits:(ByteArray fromPackedString:'??3??O1=<A3 CN@L0@S@AL@G8@3 CO@\?G3??@@a')
- colorMapFromArray:#[0 0 0 255 0 0]
+ colorMapFromArray:#[0 0 0 255 127 127]
mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'??3??O?<??3??O?<??3??O?<??3??O?<??3??@@a'); yourself); yourself]
!
@@ -965,7 +965,7 @@
^Icon
constantNamed:'ImageEditor class maskOutsideRectangleIcon'
ifAbsentPut:[(Depth1Image width:14 height:14) bits:(ByteArray fromPackedString:'??3??L@M0@3@CL@L0@3@CL@L0@3@CL@L??7??@@a')
- colorMapFromArray:#[0 0 0 255 0 0]
+ colorMapFromArray:#[0 0 0 255 127 127]
mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'??3??O?<??3??O?<??3??O?<??3??O?<??3??@@a'); yourself); yourself]
!
@@ -4408,7 +4408,7 @@
drawingColormap at:clrIndex put:changedColor.
].
cMap := image colorMap.
- (cMap notNil and:[cMap isMappedPalette not and:[cMap isFixedPalette not]]) ifTrue:[
+ (cMap notNil and:[cMap isFixedPalette not]) ifTrue:[
image colorMap at:clrIndex put:changedColor.
self colorMapChanged.
].
@@ -4474,8 +4474,7 @@
super update:something with:aParameter from:changedObject
- "Modified: / 03-02-2017 / 21:52:33 / cg"
- "Modified (format): / 16-02-2017 / 10:20:18 / cg"
+ "Modified (comment): / 17-02-2017 / 14:28:01 / cg"
!
updateAfterImageChange