The Trunk: EToys-kfr.379.mcz

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

The Trunk: EToys-kfr.379.mcz

commits-2
Marcel Taeumel uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-kfr.379.mcz

==================== 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') -----
  removeSelection
  selection
  ifNil: [^ self].
  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!