[squeak-dev] The Inbox: EToys-hjh.333.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jun 11 05:47:31 UTC 2018


A new version of EToys was added to project The Inbox:
http://source.squeak.org/inbox/EToys-hjh.333.mcz

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

Name: EToys-hjh.333
Author: hjh
Time: 11 June 2018, 7:47:07.644259 am
UUID: 1872ec0f-374c-4d8a-a701-f118fb19ae40
Ancestors: EToys-nice.332

Move methods
Morph rotationCenter and rotationCenter:
from 'Etoys-geometry' to 'geometry'

=============== Diff against EToys-nice.332 ===============

Item was removed:
- ----- Method: Morph>>rotationCenter (in category '*Etoys-geometry') -----
- rotationCenter
- 	"Return the rotation center of the receiver. The rotation center defines the relative offset inside the receiver's bounds for locating the reference position."
- 	^self valueOfProperty: #rotationCenter ifAbsent:[0.5 at 0.5]
- !

Item was removed:
- ----- Method: Morph>>rotationCenter: (in category '*Etoys-geometry') -----
- rotationCenter: aPointOrNil
- 	"Set the new rotation center of the receiver. The rotation center defines the relative offset inside the receiver's bounds for locating the reference position."
- 	aPointOrNil isNil
- 		ifTrue:[self removeProperty: #rotationCenter]
- 		ifFalse:[self setProperty: #rotationCenter toValue: aPointOrNil]
- !



More information about the Squeak-dev mailing list