[squeak-dev] The Inbox: EToys-kfr.412.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Oct 17 16:03:41 UTC 2020


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

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

Name: EToys-kfr.412
Author: kfr
Time: 17 October 2020, 6:03:37.158564 pm
UUID: 391b4e19-c1be-b94a-9ce4-1da156f696c0
Ancestors: EToys-kfr.392, EToys-eem.411

self world can return nil

=============== Diff against EToys-kfr.392 ===============

Item was changed:
  ----- Method: CategoryViewer>>assureCategoryFullyVisible (in category '*Etoys-Squeakland-categories') -----
  assureCategoryFullyVisible
  	"Keep deleting categoryviewers other than the receiver  until the receiver is fully visible."
  
  	| ready toDelete |
  	ready := false.
+ 	[(self bounds bottom > Project current world bottom) and: [ready not]] whileTrue: [
+ 		owner submorphs size > 2
+ 			ifTrue: [
+ 				toDelete := owner submorphs allButFirst reversed
+ 					detect: [:cv | cv ~~ self]
+ 					ifNone: [^ self].
- 	[(self  bounds bottom > ActiveWorld bottom) and: [ready not]] whileTrue:
- 			[owner submorphs size > 2 ifTrue:
- 				[toDelete :=owner submorphs allButFirst reversed detect: [:cv | cv ~~ self] ifNone: [^ self].
  				toDelete delete.
+ 				self world doOneCycleNow]
+ 			ifFalse: [
+ 				ready := true]].!
- 				ActiveWorld doOneCycleNow]
- 			ifFalse:
- 				[ready := true]]!



More information about the Squeak-dev mailing list