ImageEditor.st
changeset 1859 254fc0e37550
parent 1852 c40abf408dc4
child 1871 42729969c032
equal deleted inserted replaced
1858:4a73301e4eb4 1859:254fc0e37550
  4128     imageEditView makeUndo.
  4128     imageEditView makeUndo.
  4129 
  4129 
  4130     modifiedColormap := cMap asArray copy.
  4130     modifiedColormap := cMap asArray copy.
  4131 
  4131 
  4132     newColor := aBlock value:oldColor.
  4132     newColor := aBlock value:oldColor.
  4133     modifiedColormap at:selectedColorIndex put:(aBlock value:oldColor).
  4133     modifiedColormap at:selectedColorIndex put:newColor.
  4134 
  4134 
  4135     newImage := img species new
  4135     newImage := img species new
  4136                     width:img width
  4136                     width:img width
  4137                     height:img height
  4137                     height:img height
  4138                     depth:img depth
  4138                     depth:img depth