Karl Ramberg uploaded a new version of Morphic to project Etoys:
http://source.squeak.org/etoys/Morphic-kfr.72.mcz==================== Summary ====================
Name: Morphic-kfr.72
Author: kfr
Time: 24 November 2011, 5:35:47 pm
UUID: 9cd4d9db-3304-c844-8818-95f3bc1afa78
Ancestors: Morphic-kfr.67
Partial fix for triggering opening and closing scripts.
No fix for book pages yet.
http://tracker.squeakland.org/browse/SQ-999=============== Diff against Morphic-kfr.67 ===============
Item was changed:
----- Method: PasteUpMorph>>triggerClosingScripts (in category 'world state') -----
triggerClosingScripts
"If the receiver has any scripts set to run on closing, run them now"
| aPlayer |
+ self allMorphsDo:[ :m|
+ (aPlayer := m player) ifNotNil:
+ [aPlayer runAllClosingScripts]]!
- (aPlayer _ self player) ifNotNil:
- [aPlayer runAllClosingScripts]!
Item was changed:
----- Method: PasteUpMorph>>triggerOpeningScripts (in category 'world state') -----
triggerOpeningScripts
"If the receiver has any scripts set to run on opening, run them now"
| aPlayer |
+ self allMorphsDo:[ :m|
+ (aPlayer := m player) ifNotNil:
+ [aPlayer runAllOpeningScripts]]!
- (aPlayer _ self player) ifNotNil:
- [aPlayer runAllOpeningScripts]!
_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev