[squeak-dev] The Trunk: MorphicExtras-bf.104.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 17 23:36:41 UTC 2012


Bert Freudenberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-bf.104.mcz

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

Name: MorphicExtras-bf.104
Author: bf
Time: 17 April 2012, 4:35:55.392 pm
UUID: 9460be83-fb2f-4a82-9094-e7adedaefd0f
Ancestors: MorphicExtras-ul.103

Fix DNU in event recorder playback

=============== Diff against MorphicExtras-ul.103 ===============

Item was changed:
  ----- Method: HandMorphForReplay>>showTemporaryCursor:hotSpotOffset: (in category 'cursor') -----
  showTemporaryCursor: cursorOrNil hotSpotOffset: hotSpotOffset
  	"When I show my cursor, it appears double size,
  	unless it is a form such as a paint brush."
  
  	cursorOrNil
  	ifNil: ["Setting cursor to nil cannot revert to hardware cursor -- just show normal."
  			^ self showTemporaryCursor: Cursor normal hotSpotOffset: Cursor normal offset]
  	ifNotNil:
  		[(cursorOrNil isKindOf: Cursor)
  			ifTrue: ["Show cursors magnified for visibility"
+ 					^ super showTemporaryCursor: (cursorOrNil asCursorForm magnifyBy: 2)
- 					^ super showTemporaryCursor:
- 									(CursorWithMask derivedFrom: (cursorOrNil magnifyBy: 2))
  				 				hotSpotOffset: (cursorOrNil offset negated*2) + hotSpotOffset]
  			ifFalse: [^ super showTemporaryCursor: cursorOrNil
  				 				hotSpotOffset: hotSpotOffset]]!



More information about the Squeak-dev mailing list