[squeak-dev] The Trunk: Morphic-kfr.2015.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Jul 2 10:43:04 UTC 2022

Marcel Taeumel uploaded a new version of Morphic to project The Trunk:

==================== Summary ====================

Name: Morphic-kfr.2015
Author: kfr
Time: 1 July 2022, 7:20:33.220758 pm
UUID: 4c01e4ed-3290-0848-990e-4a31fd76a48b
Ancestors: Morphic-kfr.2014

Reverting Morphic-kfr.2014. Issue solved in Graphics-kfr.527

=============== Diff against Morphic-kfr.2014 ===============

Item was changed:
  ----- Method: SketchMorph>>reduceColorPalette: (in category 'menu') -----
  reduceColorPalette: evt
  	"Let the user ask for a reduced number of colors in this sketch"
  	| str nColors |
- 	originalForm depth > 16 ifTrue:[^self inform:'Not possible for pictures of 32 bit depth' translated].
  	str := UIManager default
  		request: 'Please enter a number greater than one.
  (note: this cannot be undone, so answer zero
  to abort if you need to make a backup first)' translated
  		initialAnswer: '256'.
  	nColors := Integer readFrom: (ReadStream on: str).
  	(nColors between: 2 and: 256) ifFalse: [^ self].
  	originalForm := originalForm copyWithColorsReducedTo: nColors.
  	rotatedForm := nil.
  	self changed!

More information about the Squeak-dev mailing list