Etoys: MorphicExtras-kfr.57.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: MorphicExtras-kfr.57.mcz

commits-2
Karl Ramberg uploaded a new version of MorphicExtras to project Etoys:
http://source.squeak.org/etoys/MorphicExtras-kfr.57.mcz

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

Name: MorphicExtras-kfr.57
Author: kfr
Time: 24 November 2011, 6:30:58 pm
UUID: 19ce2192-5843-d44e-9f2a-1ea784af44b3
Ancestors: MorphicExtras-kfr.56

Fix for triggering opening and closing scripts in BookMorphs
http://tracker.squeakland.org/browse/SQ-999
ยจ

=============== Diff against MorphicExtras-kfr.56 ===============

Item was changed:
  ----- Method: BooklikeMorph>>currentPlayerDo: (in category 'e-toy support') -----
  currentPlayerDo: aBlock
  | aPlayer aPage |
+ (aPage := self currentPage) ifNil: [^ self].
+ aPage allMorphsDo:[ :m|
+ (aPlayer := m player) ifNotNil:
+ [aBlock value: aPlayer]]!
- (aPage _ self currentPage) ifNil: [^ self].
- (aPlayer _ aPage player) ifNotNil:
- [aBlock value: aPlayer]!


_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev