The Trunk: Morphic-dtl.1364.mcz

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

The Trunk: Morphic-dtl.1364.mcz

commits-2
David T. Lewis uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-dtl.1364.mcz

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

Name: Morphic-dtl.1364
Author: dtl
Time: 15 November 2017, 8:04:47.876242 am
UUID: 2e7a474a-a9eb-45ba-8d25-798ec766be78
Ancestors: Morphic-dtl.1363

From last commit, fix class side reference to world, and revert change to Morph>>deleted until it can be addressed properly.

=============== Diff against Morphic-dtl.1363 ===============

Item was changed:
  ----- Method: Morph>>delete (in category 'submorphs-add/remove') -----
  delete
  "Remove the receiver as a submorph of its owner and make its
  new owner be nil."
 
  | aWorld |
  self removeHalo.
 
  self isInWorld ifTrue: [
  self disableSubmorphFocusForHand: self activeHand.
  self activeHand
    releaseKeyboardFocus: self;
  releaseMouseFocus: self].
 
  "Preserve world reference for player notificaiton. See below."
+ aWorld := self world ifNil: [World].
- aWorld := self world ifNil: [self world].
 
  owner ifNotNil:[
  self privateDelete.
  self player ifNotNil: [:player |
  player noteDeletionOf: self fromWorld: aWorld]].!

Item was changed:
  ----- Method: PluggableButtonMorph class>>roundedButtonCorners: (in category 'preferences') -----
  roundedButtonCorners: aBoolean
 
+ | world |
  RoundedButtonCorners := aBoolean.
+ world := Project current world.
+ world invalidRect: world bounds from: world.!
- World invalidRect: self world bounds from: self world.!