[squeak-dev] The Trunk: Morphic-cmm.681.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Sep 10 19:09:11 UTC 2013


Chris Muller uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-cmm.681.mcz

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

Name: Morphic-cmm.681
Author: cmm
Time: 10 September 2013, 2:07:41.692 pm
UUID: d2a1db0f-339f-4259-be24-e8dcdef61f56
Ancestors: Morphic-cmm.680

Fix lazy-init and preferenceChanged: handler.

=============== Diff against Morphic-cmm.680 ===============

Item was changed:
  ----- Method: ProportionalSplitterMorph class>>preferenceChanged: (in category 'private') -----
+ preferenceChanged: aBoolean 
- preferenceChanged: aBoolean
  	"Take immediate effect for all in a  World."
  	self allInstances do:
+ 		[ : each | (each isInWorld and: [ aBoolean and: [ each wantsSteps ] ])
+ 			ifTrue: [ each startStepping ]
+ 			ifFalse: [ each stopStepping ] ]!
- 		[ : each | each isInWorld ifTrue:
- 			[ aBoolean
- 				ifTrue: [ each startStepping ]
- 				ifFalse: [ each stopStepping ] ] ]!

Item was changed:
  ----- Method: ProportionalSplitterMorph>>movements (in category 'layout') -----
  movements
  	"Used to track my pattern of movement for the last 3 steps to fix the twitching."
  "Lazy-init for now for smooth transition -- want to convert this back to direct-var access after a few months."
+ 	^ movements ifNil: [ self initializeMovements. movements ]!
- 	^ movements ifNil: [ self initializeMovements ]!



More information about the Squeak-dev mailing list