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

commits at source.squeak.org commits at source.squeak.org
Sun Jan 19 16:56:51 UTC 2020

A new version of EToys was added to project The Inbox:

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

Name: EToys-kfr.379
Author: kfr
Time: 19 January 2020, 5:56:35.451611 pm
UUID: 4b09cf66-2c5f-2141-a27c-0300ecbef7ae
Ancestors: EToys-kfr.378

Fix longstanding visual bug in SameGame. Cascade had wrong order so deselection could not work.

=============== Diff against EToys-kfr.378 ===============

Item was changed:
  ----- Method: SameGameBoard>>removeSelection (in category 'actions') -----
  		ifNil: [^ self].
  		rememberUndoableAction: [selection
+ 				do: [:loc | (self tileAt: loc) setSwitchState: false; disabled: true].
- 				do: [:loc | (self tileAt: loc) disabled: true;
- 						 setSwitchState: false].
  			self collapseColumns: (selection
  					collect: [:loc | loc x] as: Set) sorted.
  			selection := nil.
  			flash := false.
  			(target notNil
  					and: [actionSelector notNil])
  				ifTrue: [target perform: actionSelector withArguments: arguments]]
  		named: 'remove selection' translated!

More information about the Squeak-dev mailing list