ImageEditor.st
changeset 2992 a970017936e7
parent 2945 facf3c7b0e31
child 2996 a1090695cfbc
equal deleted inserted replaced
2991:705850a604ee 2992:a970017936e7
  5489     ].
  5489     ].
  5490 
  5490 
  5491     oldColor := cMap at:selectedColorIndex.
  5491     oldColor := cMap at:selectedColorIndex.
  5492     imageEditView makeUndo.
  5492     imageEditView makeUndo.
  5493 
  5493 
  5494     modifiedColormap := cMap asArray copy.
  5494     modifiedColormap := cMap asNewArray.
  5495 
  5495 
  5496     newColor := aBlock value:oldColor.
  5496     newColor := aBlock value:oldColor.
  5497     modifiedColormap at:selectedColorIndex put:newColor.
  5497     modifiedColormap at:selectedColorIndex put:newColor.
  5498 
  5498 
  5499     newImage := img species new
  5499     newImage := img species new