[squeak-dev] The Trunk: EToys-eem.388.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 27 17:34:43 UTC 2020


Eliot Miranda uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-eem.388.mcz

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

Name: EToys-eem.388
Author: eem
Time: 27 March 2020, 10:34:37.924169 am
UUID: 637d866a-2ec0-4cc4-a31d-b3ebefeb78be
Ancestors: EToys-eem.387

Eliminate another underscore assignment that causes the decompilation tests to error.

=============== Diff against EToys-eem.387 ===============

Item was changed:
  ----- Method: PluggableTabBarMorph>>mouseDown: (in category 'actions') -----
  mouseDown: anEvent
  	| xPosition newTab |
  	xPosition := anEvent cursorPoint x.
+ 	newTab :=
+ 		(self tabs detect: [ :anAssociation | | tabBounds |
- 	newTab _
- 		((self tabs detect: [ :anAssociation | | tabBounds |
  				tabBounds := anAssociation key bounds.
  				(tabBounds left <= xPosition) and: [ tabBounds right >= xPosition]]
+ 			ifNone: [^self])
+ 		key.
- 			ifNone: [nil])
- 		key).
  	newTab ifNil: [^ self].
+ 	newTab = activeTab ifFalse: [ self activeTab: newTab ]!
- 	newTab = activeTab ifFalse: [ self activeTab: newTab ]
- !



More information about the Squeak-dev mailing list