[squeak-dev] The Inbox: Morphic-kfr.1998.mcz

commits at source.squeak.org commits at source.squeak.org
Sat May 21 08:24:55 UTC 2022


A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/Morphic-kfr.1998.mcz

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

Name: Morphic-kfr.1998
Author: kfr
Time: 21 May 2022, 10:24:48.108027 am
UUID: 803c8911-08bd-6a46-8efe-ace95d981e27
Ancestors: Morphic-kfr.1997

When ColorPicker is triggered from halo, remove the halo. Otherwise it will sometimes obscure the ColorPicker.

=============== Diff against Morphic-kfr.1997 ===============

Item was changed:
  ----- Method: Morph>>changeColor (in category 'menus') -----
  changeColor
  	"Change the color of the receiver -- triggered, e.g. from a menu"
  	NewColorPickerMorph useIt
  		ifTrue: [ (NewColorPickerMorph on: self) openNear: self fullBoundsInWorld ]
  		ifFalse:
+ 			[ self removeHalo."Halo can obscure the color picker"
+ 			  ColorPickerMorph new
- 			[ ColorPickerMorph new
  				 choseModalityFromPreference ;
  				 sourceHand: self activeHand ;
  				 target: self ;
  				 selector: #fillStyle: ;
  				 originalColor: self color ;
  				
  				putUpFor: self
  				near: self fullBoundsInWorld ]!



More information about the Squeak-dev mailing list